Auto Completion of Dimension values

We are developing a UI over druid as part of which we need to provide the auto completion of dimension values for which we need the list of all the distinct value of a dimensions.
Is it possible to get the list of all distinct values of a dimension in druid?

I am sure this information is present in the indexes but i am not if it is exposed via some query/

Thanks

Rohit

Hello,

There already good UIs available for Druid like Pivot, Panoramix, Grafana etc. See UIs section here - http://druid.io/docs/0.8.2/development/libraries.html

Anyways, type ahead can be made possible using Search query - http://druid.io/docs/0.8.2/querying/searchquery.html

Parag

Pivot uses type-ahead in its UI using the feature Parag mentioned.