org.apache.lucene.queries.function
protected class FunctionQuery.FunctionWeight extends Weight
| Modifier and Type | Field and Description |
|---|---|
protected Map |
context |
protected float |
queryNorm |
protected float |
queryWeight |
protected IndexSearcher |
searcher |
| Constructor and Description |
|---|
FunctionQuery.FunctionWeight(IndexSearcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
explain(AtomicReaderContext context,
int doc) |
Query |
getQuery() |
float |
getValueForNormalization() |
void |
normalize(float norm,
float topLevelBoost) |
Scorer |
scorer(AtomicReaderContext context,
boolean scoreDocsInOrder,
boolean topScorer,
Bits acceptDocs) |
scoresDocsOutOfOrderprotected final IndexSearcher searcher
protected float queryNorm
protected float queryWeight
protected final Map context
public FunctionQuery.FunctionWeight(IndexSearcher searcher) throws IOException
IOExceptionpublic float getValueForNormalization()
throws IOException
getValueForNormalization in class WeightIOExceptionpublic void normalize(float norm,
float topLevelBoost)
public Scorer scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs) throws IOException
scorer in class WeightIOExceptionpublic Explanation explain(AtomicReaderContext context, int doc) throws IOException
explain in class WeightIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.