Class CollapsingQParserPlugin.CollapsingPostFilter

    • Method Detail

      • getField

        public String getField()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class
      • equals

        public boolean equals​(Object other)
        Specified by:
        equals in class
      • visit

        public void visit​( visitor)
        visit in class
      • getCost

        public int getCost()
        Description copied from interface: ExtendedQuery
        Returns the cost of this query, used to order checking of filters that are not cached. If getCache()==false && getCost()>=100 && this instanceof PostFilter, then the PostFilter interface will be used for filtering.
        Specified by:
        getCost in interface ExtendedQuery
        getCost in class ExtendedQueryBase
      • getFilterCollector

        public DelegatingCollector getFilterCollector​( indexSearcher)
        Description copied from interface: PostFilter
        Returns a DelegatingCollector to be run after the main query and all of its filters, but before any sorting or grouping collectors
        Specified by:
        getFilterCollector in interface PostFilter