Package org.alfresco.solr.query
Class SolrOwnerScorer
java.lang.Object
org.apache.lucene.search.Scorer
org.alfresco.solr.query.AbstractSolrCachingScorer
org.alfresco.solr.query.SolrOwnerScorer
Find the set of documents for which the specified authority is the owner.
If the authority is not a user then an empty set is returned.
- Author:
- Matt Ward
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.solr.query.AbstractSolrCachingScorer
AbstractSolrCachingScorer.LongCacheNested classes/interfaces inherited from class org.apache.lucene.search.Scorer
org.apache.lucene.search.Scorer.ChildScorer -
Field Summary
Fields inherited from class org.apache.lucene.search.Scorer
weight -
Method Summary
Modifier and TypeMethodDescriptionstatic SolrOwnerScorercreateOwnerScorer(org.apache.lucene.search.Weight weight, org.apache.lucene.index.LeafReaderContext context, org.apache.solr.search.SolrIndexSearcher searcher, String authority) Methods inherited from class org.alfresco.solr.query.AbstractSolrCachingScorer
docID, freq, getLong, iterator, scoreMethods inherited from class org.apache.lucene.search.Scorer
getChildren, getWeight, twoPhaseIterator
-
Method Details
-
createOwnerScorer
public static SolrOwnerScorer createOwnerScorer(org.apache.lucene.search.Weight weight, org.apache.lucene.index.LeafReaderContext context, org.apache.solr.search.SolrIndexSearcher searcher, String authority) throws IOException - Throws:
IOException
-