You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support the notion of fuzzy query for numeric types and dates. fuzzy query on a numeric field will result in a range query "around" the value using the min_similarity value. For example:
In the mapping, numeric and date types now allow to configure a fuzzy_factor mapping value (defaults to 1), which will be used to multiply the fuzzy value by it when used in a query_string type query. For example, for dates, a fuzzy factor of "1d" will result in multiplying whatever fuzzy value provided in the min_similarity by it. Note, this is explicitly supported since query_string query only allowed for similarity valued between 0.0 and 1.0.
The text was updated successfully, but these errors were encountered:
Support the notion of fuzzy query for numeric types and dates.
fuzzy
query on a numeric field will result in a range query "around" the value using themin_similarity
value. For example:Will result in a range query between
10
and14
. Same applies to dates, with support for time format for themin_similarity
field:In the mapping, numeric and date types now allow to configure a
fuzzy_factor
mapping value (defaults to 1), which will be used to multiply the fuzzy value by it when used in aquery_string
type query. For example, for dates, a fuzzy factor of "1d" will result in multiplying whatever fuzzy value provided in themin_similarity
by it. Note, this is explicitly supported sincequery_string
query only allowed for similarity valued between0.0
and1.0
.The text was updated successfully, but these errors were encountered: