Class CommonGramsFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware
    Direct Known Subclasses:
    CommonGramsQueryFilterFactory

    public class CommonGramsFilterFactory
    extends AbstractWordsFileFilterFactory
    Constructs a CommonGramsFilter.
     <fieldType name="text_cmmngrms" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.CommonGramsFilterFactory" words="commongramsstopwords.txt" ignoreCase="false"/>
       </analyzer>
     </fieldType>
    Since:
    3.1
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "commonGrams"