public class SolrContainerScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
SolrContainerScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.DocsAndPositionsEnum root,
StructuredFieldPosition[] positions)
The arguments here follow the same pattern as used by the PhraseQuery.
|
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
int |
freq() |
boolean |
next() |
int |
nextDoc() |
float |
score() |
public SolrContainerScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.DocsAndPositionsEnum 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 boolean next()
throws IOException
IOExceptionpublic float score()
throws IOException
score in class org.apache.lucene.search.ScorerIOExceptionpublic int freq()
throws IOException
freq in class org.apache.lucene.index.DocsEnumIOExceptionpublic int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorpublic int nextDoc()
throws IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic int advance(int target)
throws IOException
advance in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic long cost()
cost in class org.apache.lucene.search.DocIdSetIteratorCopyright © 2005–2017 Alfresco Software. All rights reserved.