precision method

ElasticQuery precision(
  1. int value
)

Takes a precision int, creates and returns a new ElasticQuery See https://www.elastic.co/guide/en/app-search/current/search-api-precision.html The value of the precision parameter must be an integer between 1 and 11, inclusive. The range of values represents a sliding scale that manages the inherent tradeoff between precision and recall. Lower values favor recall, while higher values favor precision.

Implementation

//
/// The value of the precision parameter must be an integer between 1 and 11, inclusive.
/// The range of values represents a sliding scale that manages the inherent tradeoff between precision and recall.
/// Lower values favor recall, while higher values favor precision.
ElasticQuery precision(int value) => copyWith(precisionTuning: value);