Package org.alfresco.solr.query
Class SolrAuthorityQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.alfresco.solr.query.AbstractAuthorityQuery
-
- org.alfresco.solr.query.SolrAuthorityQuery
-
public class SolrAuthorityQuery extends AbstractAuthorityQuery
Query for docs the supplied authority is able to read.- Author:
- Matt Ward
-
-
Field Summary
-
Fields inherited from class org.alfresco.solr.query.AbstractAuthorityQuery
authority
-
-
Constructor Summary
Constructors Constructor Description SolrAuthorityQuery(java.lang.String authority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.WeightcreateWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores)java.lang.StringtoString(java.lang.String field)-
Methods inherited from class org.alfresco.solr.query.AbstractAuthorityQuery
equals, hashCode
-
-
-
-
Method Detail
-
toString
public java.lang.String toString(java.lang.String field)
- Overrides:
toStringin classAbstractAuthorityQuery
-
createWeight
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores) throws java.io.IOException- Specified by:
createWeightin classAbstractAuthorityQuery- Throws:
java.io.IOException
-
-