public class SolrContainerScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
SolrContainerScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.PostingsEnum root,
StructuredFieldPosition[] positions)
The arguments here follow the same pattern as used by the PhraseQuery.
|
| Modifier and Type | Method and Description |
|---|---|
int |
docID() |
int |
freq() |
org.apache.lucene.search.DocIdSetIterator |
iterator() |
float |
score() |
public SolrContainerScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.PostingsEnum root,
StructuredFieldPosition[] positions)
weight - -
curently unsuedroot - -
the term positions for documents with multiple entries - this
may be null, or contain no matches - it specifies those things
that appear under multiple categories etc.positions - -
the structured field positions - where terms should appearpublic float score()
throws IOException
score in class org.apache.lucene.search.ScorerIOExceptionpublic int freq()
throws IOException
freq in class org.apache.lucene.search.ScorerIOExceptionpublic int docID()
docID in class org.apache.lucene.search.Scorerpublic org.apache.lucene.search.DocIdSetIterator iterator()
iterator in class org.apache.lucene.search.ScorerCopyright © 2005–2019 Alfresco Software. All rights reserved.