Re: Counting the frequency of a term

2015-03-14 Thread Christoffer Vig
You can do this, but it involves scripting and is perhaps not very simple. The frequency of a term in a document is given as _index['FIELD']['TERM'].tf() http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-advanced-scripting.html#_term_statistics_2 Combine this with a script f

Significant terms - avoiding out of memory errors

2014-09-05 Thread Christoffer Vig
The significant terms aggregation is a really great feature that allows for some really interesting data analysis. We quite often experience out of memory errors, "CircuitBreakingException: Data too large, data would be larger than limit" Which is not hard to understand, due to the amount of dat