For the simple_query_string, you can't embed fields directly into the
query. But you can specify a fields value:
{
"simple_query_string" : {
"query": "foo",
"fields": ["title"]
}
}
--
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/d6a1dfb4-f9de-417c-9b3f-349ac4c28ce2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.