public class SolrComparisonBoolFunction extends ComparisonBoolFunction
ComparisonBoolFunction
to compare based on a 'long' or 'double' depending on if the
any of the FunctionValues are LongDocValues
.Modifier and Type | Class and Description |
---|---|
static interface |
SolrComparisonBoolFunction.Compare |
Constructor and Description |
---|
SolrComparisonBoolFunction(ValueSource lhs,
ValueSource rhs,
String name,
SolrComparisonBoolFunction.Compare cmp) |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(int doc,
FunctionValues lhs,
FunctionValues rhs) |
createWeight, description, equals, getValues, hashCode, name
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
public SolrComparisonBoolFunction(ValueSource lhs, ValueSource rhs, String name, SolrComparisonBoolFunction.Compare cmp)
public boolean compare(int doc, FunctionValues lhs, FunctionValues rhs) throws IOException
compare
in class ComparisonBoolFunction
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.