Class UpperCaseFilterFactory


  • public class UpperCaseFilterFactory
    extends TokenFilterFactory
    Factory for UpperCaseFilter.
     <fieldType name="text_uppercase" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.UpperCaseFilterFactory"/>
       </analyzer>
     </fieldType>

    NOTE: In Unicode, this transformation may lose information when the upper case character represents more than one lower case character. Use this filter when you require uppercase tokens. Use the LowerCaseFilterFactory for general search matching

    Since:
    4.7.0
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "uppercase"