Thanks a ton.
On Tue, Apr 22, 2014 at 5:55 PM, Honza Král <[email protected]>wrote: > Hi Pratik, > > if you are using elasticsearch-py you can call any API by using: > es.transport.perform_request (0) directly, that will enable you to use > the carrot2 plugin: > > es.transport.perform_request('POST', > '/test/test/_search_with_clustering', body={"search_request": ...}) > > Hope this helps, > Honza > > 0 - > http://elasticsearch-py.readthedocs.org/en/master/connection.html#elasticsearch.Transport.perform_request > > On Tue, Apr 22, 2014 at 11:00 AM, Pratik Poddar <[email protected]> > wrote: > > Stackoverflow link: > > > http://stackoverflow.com/questions/23047976/python-elasticsearch-and-carrot > > > > I am using python elastic search and I need to do document clustering. I > > have installed carrot2 (https://github.com/carrot2/elasticsearch-carrot2). > > > > How do I call the carrot clustering module from python after > > > > from elasticsearch import Elasticsearch > > es = Elasticsearch() > > es.search(.....) > > > > REST api works but I need to do it using pyelasticsearch. 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/aca90ff6-c0a7-42cb-ab8c-c1d83ada3146%40googlegroups.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/me8mVYhhB-Q/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CABfdDirQRShx0OygiEniDBaRjewu9w7BStL1Qnp3QZDOWq0sVA%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Pratik Poddar www.linkedin.com/in/pratikpoddar http://www.cseblog.com http://pratikpoddar.wordpress.com/ -- 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/CAFiYsPdu7z5Y1n70a%2B7w-t%3D_7HDREJJOe4R6TiT2M7dSX1zAqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
