Interface PayloadDecoder
public interface PayloadDecoder
Defines a way of converting payloads to float values, for use by
PayloadScoreQuery
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PayloadDecoder
APayloadDecoder
that interprets the bytes of a payload as a float -
Method Summary
Modifier and TypeMethodDescriptionfloat
computePayloadFactor
(BytesRef payload) Compute a float value for the given payload
-
Field Details
-
FLOAT_DECODER
APayloadDecoder
that interprets the bytes of a payload as a float
-
-
Method Details
-
computePayloadFactor
Compute a float value for the given payload
-