Term Vector ttf from all shards


(Attila Laszlo) #1

Hi all!

I would like to get from elasticsearch that a term is how often occurs in
all documents. So the total frequency of the term.
As far as I know, the Term Vector's total term frequency can vary depending
on the shard.
Are there any opportunity to get this value from elasticsearch for sum all
the shards? I have to know exactly the total frequency of the word.
Also I would like to know the sum of the frequency of a term in selected
documents. I can do that with multi term vectors with the ids parameter. I
manually sum the term_freq for the specific term from all documents from
the result (on C# side). Is that correct or are there any better way for
that?

Thanks a lot for the help!

--
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/c00e93f7-1dbe-4452-8178-f6b8b7d61813%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2