I think this is a straightforward application, yet I cannot find a recipe on the internet.
Can you suggest a JSON
query to send through python
to an Elasticsearch instance that would return the frequency of a specific term in a certain field?
I guess it should be possible by some tweak of the Term Vector API, but it seems not straightforward.
I would not mind to get both the absolute frequency and the number of document containing the term.