Package org.alfresco.solr.query
Class SolrPathScorer
java.lang.Object
org.apache.lucene.search.Scorer
org.alfresco.solr.query.SolrPathScorer
public class SolrPathScorer
extends org.apache.lucene.search.Scorer
-
Nested Class Summary
Nested 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 SolrPathScorercreatePathScorer(SolrPathQuery solrPathQuery, org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.Weight weight, org.alfresco.service.cmr.dictionary.DictionaryService dictionarySertvice, boolean repeat) intdocID()intfreq()org.apache.lucene.search.DocIdSetIteratoriterator()floatscore()Methods inherited from class org.apache.lucene.search.Scorer
getChildren, getWeight, twoPhaseIterator
-
Method Details
-
createPathScorer
public static SolrPathScorer createPathScorer(SolrPathQuery solrPathQuery, org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.Weight weight, org.alfresco.service.cmr.dictionary.DictionaryService dictionarySertvice, boolean repeat) throws IOException - Throws:
IOException
-
score
- Specified by:
scorein classorg.apache.lucene.search.Scorer- Throws:
IOException
-
freq
- Specified by:
freqin classorg.apache.lucene.search.Scorer- Throws:
IOException
-
docID
public int docID()- Specified by:
docIDin classorg.apache.lucene.search.Scorer
-
iterator
public org.apache.lucene.search.DocIdSetIterator iterator()- Specified by:
iteratorin classorg.apache.lucene.search.Scorer
-