org.apache.lucene.search

Class ConstantScoreQuery.ConstantWeight

protected class ConstantScoreQuery.ConstantWeight extends Object implements Weight

Constructor Summary
ConstantWeight(Searcher searcher)
Method Summary
Explanationexplain(IndexReader reader, int doc)
QuerygetQuery()
floatgetValue()
voidnormalize(float norm)
Scorerscorer(IndexReader reader)
floatsumOfSquaredWeights()

Constructor Detail

ConstantWeight

public ConstantWeight(Searcher searcher)

Method Detail

explain

public Explanation explain(IndexReader reader, int doc)

getQuery

public Query getQuery()

getValue

public float getValue()

normalize

public void normalize(float norm)

scorer

public Scorer scorer(IndexReader reader)

sumOfSquaredWeights

public float sumOfSquaredWeights()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.