Hi ,
how to highlight the matched word in elastic search if i am firing a query
like
{
"explain": true,
"query": {
"match": {
"name": "age of kamal"
}
}
}
how to highlight the result which contained "age of kamal"
Thanks
Navneet Mathpal
--
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/db2d03d8-0951-424b-8705-80e449bc91b4%40googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
spinscale
(Alexander Reelsen)
February 11, 2014, 1:29pm
2
Hey,
please see
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
You can just add a 'highlight' field to your JSON document, which specifies
the fields to highlight on. Also, dont use explain in production, but only
for debug purposes.
--Alex
On Tue, Feb 11, 2014 at 5:56 AM, Navneet Mathpal <navneetmathpal93@gmail.com
wrote:
Hi ,
how to highlight the matched word in Elasticsearch if i am firing a
query like
{
"explain": true,
"query": {
"match": {
"name": "age of kamal"
}
}
}
how to highlight the result which contained "age of kamal"
Thanks
Navneet Mathpal
--
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/db2d03d8-0951-424b-8705-80e449bc91b4%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out .
--
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/CAGCwEM_OhBRqpcHDXC515Lmd0Myw%3DoH26ZsYBdgzSVU467Lf2w%40mail.gmail.com .
For more options, visit https://groups.google.com/groups/opt_out .