johtani
(Jun Ohtani)
January 31, 2014, 3:43pm
1
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
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.elasticsearch.search.aggregations.metrics.valuecount;
This file has been truncated. show original
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 .