In the elastic search documentation, under Term Vectors API
Field statistics
Setting field_statistics to false (default is true) will omit :
document count (how many documents contain this field)
sum of document frequencies (the sum of document frequencies for all terms in this field)
sum of total term frequencies (the sum of total term frequencies of each term in this field)
I don't get this part.
I've been experimenting but no matter how hard I check, I don't get what these fields represent.
To my understanding, document count is how many documents contain the field (eg. fields=name), and sum of total term frequencies is the total term count for all the terms in this field, but I don't accurately get the fields.
Checking my main index, I have a certain field (title.keyword). I assume when I set /index_sample/_termvectors/1?fields=title.keyword, I should get the total number of documents (doc_count = 45,000) that have this field but it returns me a much lower count than what I except (doc_count = 17,000).
Could anyone be able to explain this to me with some simple examples? There is almost no third-party documentation on this and it's driving me crazy.
Thank you!