constant SearchQuery::NO_POSITIVE_KEYWORDS in Drupal 9
Same name and namespace in other branches
- 8 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::NO_POSITIVE_KEYWORDS
Indicates no positive keywords were in the search expression.
Positive keywords are words that are searched for, as opposed to negative keywords, which are words that are excluded. To count as a keyword, a word must be at least \Drupal::config('search.settings')->get('index.minimum_word_size') characters.
See also
File
- core/
modules/ search/ src/ SearchQuery.php, line 44
Class
- SearchQuery
- Search query extender and helper functions.
Namespace
Drupal\searchCode
const NO_POSITIVE_KEYWORDS = 1;