Incorrect document about an aggregation "value_count" type?

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

Does it make sense?


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

Hi Jun,

It seems you are correct. Please open an issue on this as either the
documentation needs to be changed or the functionality implemented.

Cheers,
Boaz

On Friday, January 31, 2014 4:43:26 PM UTC+1, Jun Ohtani wrote:

Hi,

When I read the aggregation document, I found typo in the following page.

Elasticsearch Platform — Find real-time answers at scale | Elastic

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
joh...@gmail.com <javascript:>
blog : http://blog.johtani.info
twitter : http://twitter.com/johtani

--
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/086d5cbc-7884-4f2f-a564-a83e42b6fe92%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.