OpenSearch/src/test/java/org/elasticsearch/index/query/simple-query-string.json
Lee Hinman 77fcf71338 Add new simple_query_string query type
This adds support for Lucene's SimpleQueryParser by adding a new type
of query called the `simple_query_string`. The `simple_query_string`
query is designed to be able to parse human-entered queries without
throwing any exceptions.

Resolves #4159
2013-12-12 12:09:32 -07:00

9 lines
149 B
JSON

{
"simple_query_string": {
"query": "foo bar",
"analyzer": "keyword",
"fields": ["body^5","_all"],
"default_operator": "and"
}
}