search.text_processor
Same name in other branches
- 10 core/modules/search/search.services.yml \search.text_processor
- 11.x core/modules/search/search.services.yml \search.text_processor
Class
Drupal\search\SearchTextProcessor7 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.
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.