You are here

constant SearchQuery::EXPRESSIONS_IGNORED in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::EXPRESSIONS_IGNORED

Indicates that part of the search expression was ignored.

To prevent Denial of Service attacks, only \Drupal::config('search.settings')->get('and_or_limit') expressions (positive keywords, phrases, negative keywords) are allowed; this flag indicates that expressions existed past that limit and they were removed.

See also

SearchQuery::getStatus()

File

core/modules/search/src/SearchQuery.php, line 62
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 EXPRESSIONS_IGNORED = 2;