Keyword tokenizer

This treats the entire text field as a single token. The kyword tokenizer is required in scenarios where we want to match the entire string as it is:

Factory class: solr.KeywordTokenizerFactory

Arguments: None

Example

<fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
</analyzer>
</fieldType>

Input: Please send a mail at [email protected] by 12-Nov.

Output: Please send a mail at [email protected] by 12-Nov.

The entire input string is preserved as a single token.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.55.198