org.apache.solr.search.function
Class FunctionQuery.FunctionWeight
java.lang.Object
org.apache.solr.search.function.FunctionQuery.FunctionWeight
- All Implemented Interfaces:
- Serializable, org.apache.lucene.search.Weight
- Enclosing class:
- FunctionQuery
protected class FunctionQuery.FunctionWeight
- extends Object
- implements org.apache.lucene.search.Weight
- See Also:
- Serialized Form
|
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 |
FunctionQuery.FunctionWeight
public FunctionQuery.FunctionWeight(org.apache.lucene.search.Searcher searcher)
getQuery
public org.apache.lucene.search.Query getQuery()
- Specified by:
getQuery in interface org.apache.lucene.search.Weight
getValue
public float getValue()
- Specified by:
getValue in interface org.apache.lucene.search.Weight
sumOfSquaredWeights
public float sumOfSquaredWeights()
throws IOException
- Specified by:
sumOfSquaredWeights in interface org.apache.lucene.search.Weight
- Throws:
IOException
normalize
public void normalize(float norm)
- Specified by:
normalize in interface org.apache.lucene.search.Weight
scorer
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.IndexReader reader)
throws IOException
- Specified by:
scorer in interface org.apache.lucene.search.Weight
- Throws:
IOException
explain
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.IndexReader reader,
int doc)
throws IOException
- Specified by:
explain in interface org.apache.lucene.search.Weight
- Throws:
IOException
Copyright © 2009 Apache Software Foundation. All Rights Reserved.