public class FiltersFunctionScoreQuery
extends org.apache.lucene.search.Query
Modifier and Type | Class and Description |
---|---|
static class |
FiltersFunctionScoreQuery.FilterFunction |
static class |
FiltersFunctionScoreQuery.ScoreMode |
Modifier and Type | Field and Description |
---|---|
protected CombineFunction |
combineFunction |
Constructor and Description |
---|
FiltersFunctionScoreQuery(org.apache.lucene.search.Query subQuery,
FiltersFunctionScoreQuery.ScoreMode scoreMode,
FiltersFunctionScoreQuery.FilterFunction[] filterFunctions,
float maxBoost,
java.lang.Float minScore,
CombineFunction combineFunction) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(java.lang.Object o) |
FiltersFunctionScoreQuery.FilterFunction[] |
getFilterFunctions() |
org.apache.lucene.search.Query |
getSubQuery() |
int |
hashCode() |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
java.lang.String |
toString(java.lang.String field) |
protected final CombineFunction combineFunction
public FiltersFunctionScoreQuery(org.apache.lucene.search.Query subQuery, FiltersFunctionScoreQuery.ScoreMode scoreMode, FiltersFunctionScoreQuery.FilterFunction[] filterFunctions, float maxBoost, java.lang.Float minScore, CombineFunction combineFunction)
public org.apache.lucene.search.Query getSubQuery()
public FiltersFunctionScoreQuery.FilterFunction[] getFilterFunctions()
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
rewrite
in class org.apache.lucene.search.Query
java.io.IOException
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores) throws java.io.IOException
createWeight
in class org.apache.lucene.search.Query
java.io.IOException
public java.lang.String toString(java.lang.String field)
toString
in class org.apache.lucene.search.Query
public boolean equals(java.lang.Object o)
equals
in class org.apache.lucene.search.Query
public int hashCode()
hashCode
in class org.apache.lucene.search.Query