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.
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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.