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:
We would also like to see how many times those keywords show up in the given document field (accumulated term frequency):
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.