Is there a way to accumulate the count of given word(s) in a standard indexed field?

We would like to provide customers the ability to enter keywords and get a date histogram driven chart which tracks both the amount of documents that it hit (straight forward) and how many times that particular keyword was used across all of the documents for that time segment. i.e. given the words "cat" and "dog" we may have a document hit histogram of:

January:
cat: 30
dog: 50
February:
cat: 80
dog: 20
March:
cat: 75
dog: 60

We would also like to see how many times those keywords show up in the given document field (accumulated term frequency):

January:
cat: 60
dog: 500
February:
cat: 125
dog: 65
March:
cat: 400
dog: 120

I'm not seeing anything obvious from the API in order to achieve the later use-case. Any tips or tricks would be greatly appreciated.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.