Count of keywords (search criteria) during search operations

Dear Team,
We are executing search operation using keywords in document content.
Search results returned list of documents matching the keywords in the
content.

for example if text search is Java then all the documents which are having
Java as text are returned. Is it possible to get the count of key words
passed as search criteria in each document? In this example what is the
count of Java keyword in documents returned in search results. If yes what
is the java api available to get the count of keyword.

Thanks in advance.

Hiro

--
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/ea54cd06-75fb-4c33-a3ad-f18856ab493c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.