OpenSearch/docs/reference/query-dsl
Simon Willnauer bc5a9ca342 Rename edit_distance/min_similarity to fuzziness
A lot of different API's currently use different names for the
same logical parameter. Since lucene moved away from the notion
of a `similarity` and now uses an `fuzziness` we should generalize
this and encapsulate the generation, parsing and creation of these
settings across all queries.

This commit adds a new `Fuzziness` class that handles the renaming
and generalization in a backwards compatible manner.

This commit also added a ParseField class to better support deprecated
Query DSL parameters

The ParseField class allows specifying parameger that have been deprecated.
Those parameters can be more easily tracked and removed in future version.
This also allows to run queries in `strict` mode per index to throw
exceptions if a query is executed with deprected keys.

Closes #4082
2014-01-09 15:14:51 +01:00
..
filters * setup accurate GeoDistance Function 2013-12-27 19:15:19 +09:00
queries Rename edit_distance/min_similarity to fuzziness 2014-01-09 15:14:51 +01:00
filters.asciidoc Minor improvements to indices filter and query & updated docs 2013-11-14 17:25:34 +01:00
queries.asciidoc Remove the `field` and `text` queries. 2013-12-16 08:59:36 -07:00