Re: Elasticsearch Frontend webapp and boilerplate query code

2015-01-02 Thread Thomas
Yes, Let's say that you wan to represent a pie graph with some short of aggregated data in it extracted from elasticsearch. Instead of writing the query in javascript or having it client side in the code we need something like a simple call of a get API for instance getMyPieData() from another

Re: Elasticsearch Frontend webapp and boilerplate query code

2015-01-02 Thread joergpra...@gmail.com
Can you elaborate what you mean by boilerplate query code? Jörg On Fri, Jan 2, 2015 at 4:04 PM, Thomas thomas.bo...@gmail.com wrote: Hi, I wish everybody a happy new year, all the best for 2015, and in continuation of the great success of ES, In our project we intend to create a simple

Elasticsearch Frontend webapp and boilerplate query code

2015-01-02 Thread Thomas
Hi, I wish everybody a happy new year, all the best for 2015, and in continuation of the great success of ES, In our project we intend to create a simple webapp that will query elasticsearch for insights. We do not want to directly query elasticsearch for two reasons: - security -

Re: Elasticsearch Frontend webapp and boilerplate query code

2015-01-02 Thread joergpra...@gmail.com
OK, you want to wrap a custom API around ES API. Templates are on method to render strings into JSON but I think django-elasticsearch or the official python client is a better way to go if you must go with python/django https://github.com/aparo/django-elasticsearch