Class AbstractAuthorityQuery

java.lang.Object
org.apache.lucene.search.Query
org.alfresco.solr.query.AbstractAuthorityQuery
Direct Known Subclasses:
SolrAuthorityQuery, SolrDeniedQuery, SolrOwnerQuery, SolrReaderQuery

public abstract class AbstractAuthorityQuery extends org.apache.lucene.search.Query
Base class for queries relating to an authority.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct with authority.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.apache.lucene.search.Weight
    createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores)
     
    boolean
     
    int
     
     

    Methods inherited from class org.apache.lucene.search.Query

    classHash, rewrite, sameClassAs, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • authority

      protected final String authority
  • Constructor Details

    • AbstractAuthorityQuery

      public AbstractAuthorityQuery(String authority)
      Construct with authority.
      Parameters:
      authority -
  • Method Details

    • createWeight

      public abstract org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores) throws IOException
      Overrides:
      createWeight in class org.apache.lucene.search.Query
      Throws:
      IOException
    • toString

      public String toString(String field)
      Specified by:
      toString in class org.apache.lucene.search.Query
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class org.apache.lucene.search.Query
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.lucene.search.Query