@Immutable protected class MatchNoneQuery.NoneWeight extends org.apache.lucene.search.Weight
| Modifier | Constructor and Description |
|---|---|
protected |
MatchNoneQuery.NoneWeight() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Explanation |
explain(org.apache.lucene.index.IndexReader reader,
int doc) |
org.apache.lucene.search.Query |
getQuery() |
float |
getValue()
This implementation always returns a weight factor of 1.0.
|
void |
normalize(float norm)
This implementation always does nothing, as there is nothing to normalize.
|
org.apache.lucene.search.Scorer |
scorer(org.apache.lucene.index.IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer) |
float |
sumOfSquaredWeights()
This implementation always returns a normalization factor of 1.0.
|
public org.apache.lucene.search.Query getQuery()
getQuery in class org.apache.lucene.search.WeightWeight.getQuery()public float getValue()
This implementation always returns a weight factor of 1.0.
getValue in class org.apache.lucene.search.WeightWeight.getValue()public float sumOfSquaredWeights()
This implementation always returns a normalization factor of 1.0.
sumOfSquaredWeights in class org.apache.lucene.search.WeightWeight.sumOfSquaredWeights()public void normalize(float norm)
This implementation always does nothing, as there is nothing to normalize.
normalize in class org.apache.lucene.search.WeightWeight.normalize(float)public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer)
scorer in class org.apache.lucene.search.WeightWeight.scorer(org.apache.lucene.index.IndexReader, boolean, boolean)public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.IndexReader reader,
int doc)
explain in class org.apache.lucene.search.WeightWeight.explain(org.apache.lucene.index.IndexReader, int)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.