Class CommonGramsQueryFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware

    public class CommonGramsQueryFilterFactory
    extends CommonGramsFilterFactory
    Construct CommonGramsQueryFilter.
     <fieldType name="text_cmmngrmsqry" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.CommonGramsQueryFilterFactory" words="commongramsquerystopwords.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).
    "commonGramsQuery"
    • Constructor Detail

      • CommonGramsQueryFilterFactory

        public CommonGramsQueryFilterFactory​(Map<String,​String> args)
        Creates a new CommonGramsQueryFilterFactory
      • CommonGramsQueryFilterFactory

        public CommonGramsQueryFilterFactory()
        Default ctor for compatibility with SPI