I am newer in Elastic Search.
I would like to count the number of times a particular phrase appears in a
document. I am using the match_phase query.
How can I can I do that for:
-
single document.
-
all the documents under root index/index&type - if it possible how to
do that using a single query. -
Actually, I would like to match several phrases and to get a different
counter per each phrases (phrase1_count, phrase2_count, … phraseN_count).
Again, I need to do that for all the documents under a root
index/index&type - if it possible how to do that using a single query.
Thanks in advanced.
--
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/7e185b3a-aa39-4e44-8e29-e2447992d53e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.