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
-
public class SolrOwnerScorer extends AbstractSolrCachingScorer
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.LongCache
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SolrOwnerScorercreateOwnerScorer(org.apache.lucene.search.Weight weight, org.apache.lucene.index.LeafReaderContext context, org.apache.solr.search.SolrIndexSearcher searcher, java.lang.String authority)-
Methods inherited from class org.alfresco.solr.query.AbstractSolrCachingScorer
docID, freq, getLong, iterator, score
-
-
-
-
Method Detail
-
createOwnerScorer
public static SolrOwnerScorer createOwnerScorer(org.apache.lucene.search.Weight weight, org.apache.lucene.index.LeafReaderContext context, org.apache.solr.search.SolrIndexSearcher searcher, java.lang.String authority) throws java.io.IOException
- Throws:
java.io.IOException
-
-