Rest endpoint to show which plugins and rivers are installed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Rest endpoint to show which plugins and rivers are installed

mobz-2
Just wondering if there is a rest interface for finding out which plugins and rivers are installed? It could be useful for elasticsearch-head for example

Reply | Threaded
Open this post in threaded view
|

Re: Rest endpoint to show which plugins and rivers are installed

joergprante@gmail.com
Hi Ben,

Just opened a pull request:

https://github.com/elasticsearch/elasticsearch/pull/1993

https://github.com/jprante/elasticsearch/commit/69ea1d1a4a78a1f99391028181de84c966b5f514

It works like this:

curl -XGET 'localhost:9200/_plugins'
{
  "ok" : true,
  "plugins" : {
    "analysis-combo" : "Analyser that can multiplex multiple terms from different analyzers",
    "skywalker" : "Skywalker - Luke for Elasticsearch",
    "oai-river" : "OAI River Plugin",
    "analysis-icu" : "UTF related ICU analysis support"
  }
}

When plugin authors provide feature lists in the plugin descriptions, they could be interpreted by other plugins.

Jörg

On Thursday, May 31, 2012 9:49:43 AM UTC+2, mobz wrote:
Just wondering if there is a rest interface for finding out which plugins and rivers are installed? It could be useful for elasticsearch-head for example

Reply | Threaded
Open this post in threaded view
|

Re: Rest endpoint to show which plugins and rivers are installed

mobz-2
awesome! Thanks

-B

On Friday, 1 June 2012 03:23:50 UTC+10, Jörg Prante wrote:
Hi Ben,

Just opened a pull request:


https://github.com/jprante/elasticsearch/commit/69ea1d1a4a78a1f99391028181de84c966b5f514

It works like this:

curl -XGET 'localhost:9200/_plugins'
{
  "ok" : true,
  "plugins" : {
    "analysis-combo" : "Analyser that can multiplex multiple terms from different analyzers",
    "skywalker" : "Skywalker - Luke for Elasticsearch",
    "oai-river" : "OAI River Plugin",
    "analysis-icu" : "UTF related ICU analysis support"
  }
}

When plugin authors provide feature lists in the plugin descriptions, they could be interpreted by other plugins.

Jörg

On Thursday, May 31, 2012 9:49:43 AM UTC+2, mobz wrote:
Just wondering if there is a rest interface for finding out which plugins and rivers are installed? It could be useful for elasticsearch-head for example

Reply | Threaded
Open this post in threaded view
|

Re: Rest endpoint to show which plugins and rivers are installed

Ivan Brusic
Rivers are defined in the _river index, so they can be queried like
any other index:

http://localhost:9200/_river/_search?q=*

--
Ivan

On Thu, May 31, 2012 at 4:21 PM, mobz <[hidden email]> wrote:

> awesome! Thanks
>
> -B
>
>
> On Friday, 1 June 2012 03:23:50 UTC+10, Jörg Prante wrote:
>>
>> Hi Ben,
>>
>> Just opened a pull request:
>>
>> https://github.com/elasticsearch/elasticsearch/pull/1993
>>
>>
>> https://github.com/jprante/elasticsearch/commit/69ea1d1a4a78a1f99391028181de84c966b5f514
>>
>> It works like this:
>>
>> curl -XGET 'localhost:9200/_plugins'
>> {
>>   "ok" : true,
>>   "plugins" : {
>>     "analysis-combo" : "Analyser that can multiplex multiple terms from
>> different analyzers",
>>     "skywalker" : "Skywalker - Luke for Elasticsearch",
>>     "oai-river" : "OAI River Plugin",
>>     "analysis-icu" : "UTF related ICU analysis support"
>>   }
>> }
>>
>> When plugin authors provide feature lists in the plugin descriptions, they
>> could be interpreted by other plugins.
>>
>> Jörg
>>
>> On Thursday, May 31, 2012 9:49:43 AM UTC+2, mobz wrote:
>>>
>>> Just wondering if there is a rest interface for finding out which plugins
>>> and rivers are installed? It could be useful for elasticsearch-head for
>>> example
>>>
>