Class WhitespaceTokenizerFactory


  • public class WhitespaceTokenizerFactory
    extends TokenizerFactory
    Factory for WhitespaceTokenizer.
     <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory" rule="unicode"  maxTokenLen="256"/>
       </analyzer>
     </fieldType>
    Options:
    Since:
    3.1
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "whitespace"