Javascript API for searching in Elasticsearch

If I do below query in Kibana, results : "tim is a good boy" and I want to do same thing using js library in eclipse.

GET nirv/_search
{
    "query" : {
        "term" : { "user" : "tim" }
    }
}

I looked everywhere but did not find much of help. So can anyone provide a bit of code for a query to Elasticsearch using JS API in eclipse. What I mean is that I have a function result which provides me what elasticsearch return for particular query.

Hi Radhe,

Starting new topic is not going to help I think.

I think the Java scripts docs are pretty good. The eclipse thing is a personal matter, me personaly hate eclipse and use vim (but thats me)

I hope this helps.

Thanks!

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