Interface ToScriptField<T>

Type Parameters:
T - The type of doc values data used to construct a DocValuesField.

public interface ToScriptField<T>
A helper class that lets LeafFieldData.getScriptField(java.lang.String) translate from raw doc values into the field provider that the scripting API requires. It can make use of information specific to the mapped field type, in a way LeafFieldData is not designed to do.