public class SolrContainerScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
SolrContainerScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.TermPositions root,
org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition[] positions,
org.apache.lucene.search.Similarity similarity,
byte[] norms)
The arguments here follow the same pattern as used by the PhraseQuery.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doc() |
org.apache.lucene.search.Explanation |
explain(int doc) |
boolean |
next() |
float |
score() |
boolean |
skipTo(int target) |
public SolrContainerScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.TermPositions root,
org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition[] positions,
org.apache.lucene.search.Similarity similarity,
byte[] norms)
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 appearsimilarity - -
used in the abstract scorer implementationnorms - -
unusedpublic boolean next()
throws IOException
next in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic int doc()
doc in class org.apache.lucene.search.DocIdSetIteratorpublic float score()
throws IOException
score in class org.apache.lucene.search.ScorerIOExceptionpublic boolean skipTo(int target)
throws IOException
skipTo in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic org.apache.lucene.search.Explanation explain(int doc)
throws IOException
explain in class org.apache.lucene.search.ScorerIOExceptionCopyright © 2005–2017 Alfresco Software. All rights reserved.