Package org.alfresco.solr.query
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.QueryBase class for queries relating to an authority.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringauthority
-
Constructor Summary
Constructors Constructor Description AbstractAuthorityQuery(java.lang.String authority)Construct with authority.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.apache.lucene.search.WeightcreateWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores)booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString(java.lang.String field)
-
-
-
Method Detail
-
createWeight
public abstract org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores) throws java.io.IOException- Overrides:
createWeightin classorg.apache.lucene.search.Query- Throws:
java.io.IOException
-
toString
public java.lang.String toString(java.lang.String field)
- Specified by:
toStringin classorg.apache.lucene.search.Query
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()
- Specified by:
hashCodein classorg.apache.lucene.search.Query
-
-