Package org.apache.solr.search
Class FloatPayloadValueSource
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.solr.search.FloatPayloadValueSource
public class FloatPayloadValueSource
extends org.apache.lucene.queries.function.ValueSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.lucene.queries.payloads.PayloadDecoderprotected final org.apache.lucene.queries.function.ValueSourceprotected final Stringprotected final org.apache.lucene.util.BytesRefprotected final Stringprotected final org.apache.lucene.queries.payloads.PayloadFunctionprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionFloatPayloadValueSource(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource) -
Method Summary
Methods inherited from class org.apache.lucene.queries.function.ValueSource
asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toString
-
Field Details
-
field
-
val
-
indexedField
-
indexedBytes
protected final org.apache.lucene.util.BytesRef indexedBytes -
decoder
protected final org.apache.lucene.queries.payloads.PayloadDecoder decoder -
payloadFunction
protected final org.apache.lucene.queries.payloads.PayloadFunction payloadFunction -
defaultValueSource
protected final org.apache.lucene.queries.function.ValueSource defaultValueSource
-
-
Constructor Details
-
FloatPayloadValueSource
public FloatPayloadValueSource(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource)
-
-
Method Details
-
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object, Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException- Specified by:
getValuesin classorg.apache.lucene.queries.function.ValueSource- Throws:
IOException
-
name
-
description
- Specified by:
descriptionin classorg.apache.lucene.queries.function.ValueSource
-
equals
- Specified by:
equalsin classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()- Specified by:
hashCodein classorg.apache.lucene.queries.function.ValueSource
-