search.text_processor

Same name in other branches
  1. 10 core/modules/search/search.services.yml \search.text_processor
  2. 11.x core/modules/search/search.services.yml \search.text_processor

Class

Drupal\search\SearchTextProcessor
7 string references to search.text_processor
SearchIndex::__construct in core/modules/search/src/SearchIndex.php
SearchIndex constructor.
SearchQuery::parseSearchExpression in core/modules/search/src/SearchQuery.php
Parses the search query into SQL conditions.
SearchTextProcessorTest::testSearchTextProcessorPunctuation in core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php
Tests that text analysis does the right thing with punctuation.
SearchTextProcessorTest::testSearchTextProcessorUnicode in core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php
Tests that text processing handles Unicode characters correctly.
SearchTokenizerTest::testNoTokenizer in core/modules/search/tests/src/Kernel/SearchTokenizerTest.php
Verifies that strings of non-CJK characters are not tokenized.

... See full list

File

core/modules/search/search.services.yml

View source
  1. class: Drupal\search\SearchTextProcessor
  2. arguments:
  3. - '@transliteration'
  4. - '@config.factory'
  5. - '@module_handler'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.