|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.query.lucene.QueryHitsQuery.QueryHitsQueryWeight
public class QueryHitsQuery.QueryHitsQueryWeight
The Weight implementation for this query.
Constructor Summary | |
---|---|
QueryHitsQuery.QueryHitsQueryWeight(org.apache.lucene.search.Similarity similarity)
Creates a new weight with the given similarity . |
Method Summary | |
---|---|
org.apache.lucene.search.Explanation |
explain(org.apache.lucene.index.IndexReader reader,
int doc)
|
org.apache.lucene.search.Query |
getQuery()
|
float |
getValue()
|
void |
normalize(float norm)
|
org.apache.lucene.search.Scorer |
scorer(org.apache.lucene.index.IndexReader reader)
|
float |
sumOfSquaredWeights()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryHitsQuery.QueryHitsQueryWeight(org.apache.lucene.search.Similarity similarity)
similarity
.
similarity
- the similarity.Method Detail |
---|
public org.apache.lucene.search.Query getQuery()
getQuery
in interface org.apache.lucene.search.Weight
public float getValue()
getValue
in interface org.apache.lucene.search.Weight
public float sumOfSquaredWeights() throws IOException
sumOfSquaredWeights
in interface org.apache.lucene.search.Weight
IOException
public void normalize(float norm)
normalize
in interface org.apache.lucene.search.Weight
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.IndexReader reader) throws IOException
scorer
in interface org.apache.lucene.search.Weight
IOException
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.IndexReader reader, int doc) throws IOException
explain
in interface org.apache.lucene.search.Weight
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |