search.text_processor

Same name in other branches
  1. 9 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
6 string references to search.text_processor
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.
SearchTokenizerTest::testTokenizer in core/modules/search/tests/src/Kernel/SearchTokenizerTest.php
Verifies that strings of CJK characters are 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.