Aggregate a count of matched words among documents

Hi everyone. I have a set of documents that represent web site pages, and
I'd like to query the total word matches for a term within a specific
site. For example, find all documents from the site "" and
count the total number of occurrences of words matching "example" among the

I don't want the number of document hits - I want to know how many times a
word is mentioned within the site's content.

Is this possible? Can someone give me a rough idea of where to start?


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
To view this discussion on the web visit
For more options, visit