| org.apache.solr.search.function.FunctionQuery
FunctionQuery | public class FunctionQuery extends Query (Code) | | Returns a score for each document based on a ValueSource,
often some function of the value of a field.
author: yonik version: $Id: FunctionQuery.java 472574 2006-11-08 18:25:52Z yonik $ |
Inner Class :protected class FunctionWeight implements Weight | |
Inner Class :protected class AllScorer extends Scorer | |
FunctionQuery | public FunctionQuery(ValueSource func)(Code) | | Parameters: func - defines the function to be used for scoring |
createWeight | protected Weight createWeight(Searcher searcher)(Code) | | |
equals | public boolean equals(Object o)(Code) | | Returns true if o is equal to this.
|
extractTerms | public void extractTerms(Set terms)(Code) | | |
hashCode | public int hashCode()(Code) | | Returns a hash code value for this object.
|
toString | public String toString(String field)(Code) | | Prints a user-readable version of this query.
|
|
|