Hello,
I am using Elastic search "0.90.10", "lucene_version" : "4.6".
I am trying to use the new "simple_query_string" when I add to the flags
"PHRASE" I get "Unknown simple_query_string flag [PHRASE]]"
However If I add the "ALL" flag, it seems to work:
Here is a simple example of what I am doing:
{
"query": {
"filtered": {
"query": {
"simple_query_string": {
"query": "horse",
"fields": [
"sreferenceNumber^20",
"sTitle^2",
"sDescription"
],
"flags":"PHRASE",
"default_operator":"AND"
}
}
}
}
}
If I try that same query with the Flags set to all I get results.
Error I am getting, is:
ElasticSearchIllegalArgumentException[Unknown simple_query_string flag
[PHRASE]];
>From
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html
It seems that it should be possible to send in the "PHRASE" flag.
Maybe you guys can help me in the right direction if I am doing some wrong.
Regards,
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c507bb36-a6d8-4ac8-9e5b-0c51dedfb14f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.