You are here

public function ResultSet::getIgnoredSearchKeys in Search API 8

Returns the ignored search keys, if any.

Return value

string[] A numeric array of search keys that were ignored for this search (for example, because of being too short or stop words).

Overrides ResultSetInterface::getIgnoredSearchKeys

1 call to ResultSet::getIgnoredSearchKeys()
ResultSet::__toString in src/Query/ResultSet.php
Implements the magic __toString() method to simplify debugging.

File

src/Query/ResultSet.php, line 161

Class

ResultSet
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getIgnoredSearchKeys() {
  return array_values($this->ignoredSearchKeys);
}