Hello,
We have a web application, where we are providing a global search feature
through Elasticsearch. One can use this feature to search any text across
all the documents (and on all fields). We are using '_all' in fields while
querying elastic search. This yields us the desired results perfectly.
Below is the sense example.
{
"query": {
"query_string": {
"query": anysearchterm,
"fields": [ "_all" ]
}
}
}
Now what we want next is the precise relevance of the search result. We
want to know,* in which all fields, within each of the resulting document,
did elastic search found the match for the search term*. Thus we want to
know the occurrence of the search term, *with respect to individual fields*,
for all the resulting documents.
We have been searching for this for quiet some time. We have tried 'explain'
option while querying, but this does not give field specific count of the
search term.
Any kind of help is highly appreciated. We would be really greatfull if
anybody can put some insights on this.
Thank you,
Manoj
--
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/8ce38b12-f6c3-4ffb-b32c-64a6c738bc20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.