Class CollapsingQParserPlugin.CollapsingPostFilter

    • Constructor Detail

      • CollapsingPostFilter

        public CollapsingPostFilter​(org.apache.solr.common.params.SolrParams localParams,
                                    org.apache.solr.common.params.SolrParams params,
                                    SolrQueryRequest request)
    • 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)
        Specified by:
        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. Otherwise, for smaller costs, this cost will be used for TwoPhaseIterator.matchCost().
        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