Invoking the REST API through Java

I have an elasticsearch plugin that currently does not expose a Java API. I
can only invoke the plugin via the REST API:

http://localhost:9200/_myCustomPlugin

From what I understand about Elasticsearch plugins, the plugin
implementation registers an action at the path "_myCustomPlugin" and when
that link is visited, the action is invoked.

Is there a way to invoke this action directly via the Java API?

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/89f9b4f2-9ff4-4cc4-8aa1-089d35aa54b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This is very few information. If you do not have the source code of the
plugin, it is a bit hard to judge if Java calls are possible. In a plugin,
there are not necessarily ES Java actions implemented when you can make
REST calls.

Jörg

On Mon, Dec 22, 2014 at 8:28 PM, jnortey jeremy.nortey@gmail.com wrote:

I have an elasticsearch plugin that currently does not expose a Java API.
I can only invoke the plugin via the REST API:

http://localhost:9200/_myCustomPlugin

From what I understand about Elasticsearch plugins, the plugin
implementation registers an action at the path "_myCustomPlugin" and when
that link is visited, the action is invoked.

Is there a way to invoke this action directly via the Java API?

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/89f9b4f2-9ff4-4cc4-8aa1-089d35aa54b0%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/89f9b4f2-9ff4-4cc4-8aa1-089d35aa54b0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEBLrCrt1ArPnqJRhrLpZmfS1rO9k4c4gf9PtG5xGa0Yw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.