How to get a Term list for a field?

Hi All,

Is there a way to get a sorted list of terms from a field in Elasticsearch?

We are going to migrate from Solr to ES and we need something similar to /terms handler, for example:
http://localhost:8983/solr/mydatabase/terms?terms.fl=title&terms.sort=index&terms.lower=cat&terms.limit=50

In this example Solr returns 50 terms started from "cat" and sorted alphabetically.
"mydatabase" can have 10-20 million terms in a field and it's frequently updated.

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.