|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Weight
org.modeshape.jcr.query.lucene.ScoreQuery.NotWeight
protected class ScoreQuery.NotWeight
Calculates query weights and builds query scores for our NOT queries.
Constructor Summary | |
---|---|
protected |
ScoreQuery.NotWeight(org.apache.lucene.search.Searcher searcher)
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.lucene.search.Weight |
---|
scoresDocsOutOfOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ScoreQuery.NotWeight(org.apache.lucene.search.Searcher searcher)
Method Detail |
---|
public org.apache.lucene.search.Query getQuery()
getQuery
in class org.apache.lucene.search.Weight
Weight.getQuery()
public float getValue()
This implementation always returns a weight factor of 1.0.
getValue
in class org.apache.lucene.search.Weight
Weight.getValue()
public float sumOfSquaredWeights()
This implementation always returns a normalization factor of 1.0.
sumOfSquaredWeights
in class org.apache.lucene.search.Weight
Weight.sumOfSquaredWeights()
public void normalize(float norm)
This implementation always does nothing, as there is nothing to normalize.
normalize
in class org.apache.lucene.search.Weight
Weight.normalize(float)
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.IndexReader reader, boolean scoreDocsInOrder, boolean topScorer) throws IOException
scorer
in class org.apache.lucene.search.Weight
IOException
Weight.scorer(org.apache.lucene.index.IndexReader, boolean, boolean)
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.IndexReader reader, int doc) throws IOException
explain
in class org.apache.lucene.search.Weight
IOException
Weight.explain(org.apache.lucene.index.IndexReader, int)
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |