Do you append it using a script in bulk request? If so you could also increment size of the list by script I guess.
May be something like this could help? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html Unsure though. But you won't be able to sort based on that. -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 29 avril 2014 à 00:43:27, [email protected] ([email protected]) a écrit: Thanks David but the list is being appended during bulk indexing. To calculate the size on each update would slow things down. Is there no equivalent to select id, length (tags) order by length (tags) desc; ? Thanks. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/44036826-6f41-48e9-bf0f-9fe8dc339dbc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.535eda93.5072367.16bd1%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/d/optout.
