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

SearchQuery::getStatus()

File

core/modules/search/src/SearchQuery.php, line 45

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

const NO_POSITIVE_KEYWORDS = 1;
doc_Drupal
2016-10-29 09:40:54
Comments
Leave a Comment

Please login to continue.