Aggregate a count of matched words among documents


(Travis Bullock) #1

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 "www.example.com" and
count the total number of occurrences of words matching "example" among the
documents.

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?

Thanks,
Travis

--
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/6d98122a-653e-4898-8eed-869c7a3e93c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2