Class SolrAuthoritySetQuery

  • All Implemented Interfaces:
    org.apache.solr.search.ExtendedQuery, org.apache.solr.search.PostFilter

    public class SolrAuthoritySetQuery
    extends AbstractAuthoritySetQuery
    implements org.apache.solr.search.PostFilter
    Author:
    Andy
    • Constructor Detail

      • SolrAuthoritySetQuery

        public SolrAuthoritySetQuery​(java.lang.String authorities)
    • Method Detail

      • createWeight

        public org.apache.lucene.search.Weight createWeight​(org.apache.lucene.search.IndexSearcher searcher,
                                                            boolean needsScores)
                                                     throws java.io.IOException
        Specified by:
        createWeight in class AbstractAuthoritySetQuery
        Throws:
        java.io.IOException
      • getFilterCollector

        public org.apache.solr.search.DelegatingCollector getFilterCollector​(org.apache.lucene.search.IndexSearcher searcher)
        Specified by:
        getFilterCollector in interface org.apache.solr.search.PostFilter
      • getCost

        public int getCost()
        Specified by:
        getCost in interface org.apache.solr.search.ExtendedQuery
      • setCost

        public void setCost​(int cost)
        Specified by:
        setCost in interface org.apache.solr.search.ExtendedQuery
      • getCache

        public boolean getCache()
        Specified by:
        getCache in interface org.apache.solr.search.ExtendedQuery
      • setCache

        public void setCache​(boolean cache)
        Specified by:
        setCache in interface org.apache.solr.search.ExtendedQuery
      • getCacheSep

        public boolean getCacheSep()
        Specified by:
        getCacheSep in interface org.apache.solr.search.ExtendedQuery
      • setCacheSep

        public void setCacheSep​(boolean sep)
        Specified by:
        setCacheSep in interface org.apache.solr.search.ExtendedQuery