search.text_processor
Same name in other branches
- 9 core/modules/search/search.services.yml \search.text_processor
- 10 core/modules/search/search.services.yml \search.text_processor
Class
Drupal\search\SearchTextProcessor6 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.
File
-
core/
modules/ search/ search.services.yml
View source
- class: Drupal\search\SearchTextProcessor
- arguments:
- - '@transliteration'
- - '@config.factory'
- - '@module_handler'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.