SearchQuery::NO_POSITIVE_KEYWORDS
Same name in other branches
- 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::NO_POSITIVE_KEYWORDS
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::NO_POSITIVE_KEYWORDS
- 11.x 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;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.