Rest endpoint to show which plugins and rivers are installed

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

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

awesome! Thanks

-B

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

Hi Ben,

Just opened a pull request:

REST endpoint for a list of plugins by jprante · Pull Request #1993 · elastic/elasticsearch · GitHub

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

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 ben@mobz.org 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:

REST endpoint for a list of plugins by jprante · Pull Request #1993 · elastic/elasticsearch · GitHub

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