Class UpperCaseFilterFactory

  • All Implemented Interfaces:
    MultiTermAwareComponent

    public class UpperCaseFilterFactory
    extends TokenFilterFactory
    implements MultiTermAwareComponent
    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