newDoubleValues

fun newDoubleValues(field: String, featureName: String): DoubleValuesSource

Creates a DoubleValuesSource instance which can be used to read the values of a feature from the a FeatureField for documents.

Return

a DoubleValuesSource which can be used to access the values of the feature for documents

Parameters

field

field name. Must not be null.

featureName

feature name. Must not be null.

Throws

if field or featureName is null.