You are here

constant SearchQuery::NO_POSITIVE_KEYWORDS in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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

SearchQuery::getStatus()

File

core/modules/search/src/SearchQuery.php, line 50
Contains \Drupal\search\SearchQuery.

Class

SearchQuery
Performs a query on the full-text search index for a word or words.

Namespace

Drupal\search

Code

const NO_POSITIVE_KEYWORDS = 1;