public class LeafScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
LeafScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.TermPositions root,
org.apache.lucene.index.TermPositions level0,
ContainerScorer containerScorer,
StructuredFieldPosition[] sfps,
boolean followParentInLevel0,
HashMap<String,org.alfresco.repo.search.impl.lucene.query.LeafScorer.Counter> selfIds,
org.apache.lucene.index.IndexReader reader,
org.apache.lucene.search.Similarity similarity,
byte[] norms,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
boolean repeat)
Constructor - should use an arg object ...
|
| 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 LeafScorer(org.apache.lucene.search.Weight weight,
org.apache.lucene.index.TermPositions root,
org.apache.lucene.index.TermPositions level0,
ContainerScorer containerScorer,
StructuredFieldPosition[] sfps,
boolean followParentInLevel0,
HashMap<String,org.alfresco.repo.search.impl.lucene.query.LeafScorer.Counter> selfIds,
org.apache.lucene.index.IndexReader reader,
org.apache.lucene.search.Similarity similarity,
byte[] norms,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
boolean repeat)
weight - root - level0 - containerScorer - sfps - followParentInLevel0 - selfIds - reader - similarity - norms - dictionaryService - repeat - public 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.