Rest endpoint to show which plugins and rivers are installed


(mobz-2) #1

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


(Jörg Prante) #2

Hi Ben,

Just opened a pull request:

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


(mobz-2) #3

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


(Ivan Brusic) #4

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:

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


(system) #5