I have a query
query:
{
query_string:
{
query: query,
fields: ["First_Name", "Last_Name"],
default_operator: "AND"
}
}
I am using AngularJS.
I want the value of the "fields:" to be provided at runtime ( through a
checkbox selection by the user from an html page)
How should I go about it ?
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a4cfd7e8-2489-494e-b5a4-f68ad3994dfd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.