How to install a plugin from a jar file

Hi,

I have written a plugin, but I cannot make ElasticSearch 1.4.4 to use it.
Specifically, I packed the plugin as a jar file and placed the jar file
under my ELASTIC_SEARCH_DIR/plugins/ directory. However, when
I am starting ElasticSearch, the list of installed plugins is empty:

[INFO ][plugins ] [Ant-Man] loaded [],sites []

I should also note that when I run the 'plugin' command line with the list
option (i.e. "bin\plugin.bat -l"), it does list my plug-in.

Any advice?

thank you,
Oranit.

--
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/7ae1df87-e777-4b42-96b1-050ac0ec92a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Probably a bug in the plugin script which just looks at the folders under
/plugins

Did you put an es.properties file in your jar as a resource?

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Lucene.NET committer and PMC member

On Thu, Mar 5, 2015 at 2:54 PM, Oranit Dror oranit@gmail.com wrote:

Hi,

I have written a plugin, but I cannot make ElasticSearch 1.4.4 to use it.
Specifically, I packed the plugin as a jar file and placed the jar file
under my ELASTIC_SEARCH_DIR/plugins/ directory. However,
when I am starting ElasticSearch, the list of installed plugins is empty:

[INFO ][plugins ] [Ant-Man] loaded [],sites []

I should also note that when I run the 'plugin' command line with the
list option (i.e. "bin\plugin.bat -l"), it does list my plug-in.

Any advice?

thank you,
Oranit.

--
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/7ae1df87-e777-4b42-96b1-050ac0ec92a2%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/7ae1df87-e777-4b42-96b1-050ac0ec92a2%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/CAHTr4ZvxeOKZXjFrVf3%3Dfne-zW0F7iefRt%3D1SRTb%2BnhiXzsSeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hello,

This link helped me get the mapper-attachment working:

The just of it is to put your commons-compress-vernum.jar and
name-of-your-plugin-ver-num.jar into a folder with the name of your plugin
under the plugins directory.

Hope this helps!

On Thursday, March 5, 2015 at 6:54:11 AM UTC-6, Oranit Dror wrote:

Hi,

I have written a plugin, but I cannot make ElasticSearch 1.4.4 to use it.
Specifically, I packed the plugin as a jar file and placed the jar file
under my ELASTIC_SEARCH_DIR/plugins/ directory. However,
when I am starting ElasticSearch, the list of installed plugins is empty:

[INFO ][plugins ] [Ant-Man] loaded [],sites []

I should also note that when I run the 'plugin' command line with the
list option (i.e. "bin\plugin.bat -l"), it does list my plug-in.

Any advice?

thank you,
Oranit.

--
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/2b3668f3-016b-4702-b41c-8e32c7e57e43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thank you, Itamar!
It works.

On Thursday, March 5, 2015 at 2:56:10 PM UTC+2, Itamar Syn-Hershko wrote:

Probably a bug in the plugin script which just looks at the folders under
/plugins

Did you put an es.properties file in your jar as a resource?

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Lucene.NET committer and PMC member

On Thu, Mar 5, 2015 at 2:54 PM, Oranit Dror <ora...@gmail.com
<javascript:>> wrote:

Hi,

I have written a plugin, but I cannot make ElasticSearch 1.4.4 to use it.
Specifically, I packed the plugin as a jar file and placed the jar file
under my ELASTIC_SEARCH_DIR/plugins/ directory. However,
when I am starting ElasticSearch, the list of installed plugins is empty:

[INFO ][plugins ] [Ant-Man] loaded [],sites []

I should also note that when I run the 'plugin' command line with the
list option (i.e. "bin\plugin.bat -l"), it does list my plug-in.

Any advice?

thank you,
Oranit.

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7ae1df87-e777-4b42-96b1-050ac0ec92a2%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/7ae1df87-e777-4b42-96b1-050ac0ec92a2%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/03414143-edf3-49f6-a147-6152b7913f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.