Fuzzy search with AND query in REST Query DSL

What is the DSL for making a fuzzy search on a field against multiple
fields with either AND or OR operator.

Im able to make queries having "AND" / "OR" operator with the simple
search call as a query string. Want to do the same thing with the REST
Query dsl to have more control over the query.

Thanks
Selva

Hi Selva

Im able to make queries having "AND" / "OR" operator with the simple
search call as a query string. Want to do the same thing with the REST
Query dsl to have more control over the query.

Please read the docs:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/query_dsl/

If you have an example that isn't working, then ask the list for help
with that specific example.

thanks

clint

Just a pointer, the "bool" query is the one that does the AND/OR logic. The must / must_not, and should (with the option to specify minimum number of should to match) clauses allows you to play with it. Each clause is a fully fledged query as well.
On Monday, December 6, 2010 at 1:08 PM, Clinton Gormley wrote:

Hi Selva

Im able to make queries having "AND" / "OR" operator with the simple
search call as a query string. Want to do the same thing with the REST
Query dsl to have more control over the query.

Please read the docs:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/query_dsl/

If you have an example that isn't working, then ask the list for help
with that specific example.

thanks

clint