org.apache.solr.search.function
Class FunctionQuery.FunctionWeight
java.lang.Object
org.apache.solr.search.function.FunctionQuery.FunctionWeight
- All Implemented Interfaces:
- Serializable, Weight
- Enclosing class:
- FunctionQuery
protected class FunctionQuery.FunctionWeight
- extends Object
- implements Weight
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionQuery.FunctionWeight
public FunctionQuery.FunctionWeight(Searcher searcher)
getQuery
public Query getQuery()
- Specified by:
getQuery
in interface Weight
getValue
public float getValue()
- Specified by:
getValue
in interface Weight
sumOfSquaredWeights
public float sumOfSquaredWeights()
throws IOException
- Specified by:
sumOfSquaredWeights
in interface Weight
- Throws:
IOException
normalize
public void normalize(float norm)
- Specified by:
normalize
in interface Weight
scorer
public Scorer scorer(IndexReader reader)
throws IOException
- Specified by:
scorer
in interface Weight
- Throws:
IOException
explain
public Explanation explain(IndexReader reader,
int doc)
throws IOException
- Specified by:
explain
in interface Weight
- Throws:
IOException
Copyright © 2006 - 2009 The Apache Software Foundation