Hi,

When I read the aggregation document, I found typo in the following page.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-valuecount-aggregation.html#_script_7

Description : ”Counting the values generated by a script:

But, I think value_count does not support script, because I don’t find “script” 
in ValueCountParser.java

https://github.com/elasticsearch/elasticsearch/blob/2df42e4460fa5f0d87363672e305c88d9f30b093/src/main/java/org/elasticsearch/search/aggregations/metrics/valuecount/ValueCountParser.java#L54

Does it make sense?

------------
Jun Ohtani
joht...@gmail.com
blog : http://blog.johtani.info
twitter : http://twitter.com/johtani

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to