Install non-site plugin, get "IllegalArgumentException: Plugin installation assumed to be site plugin, but contains source code, aborting installation"

I try to install a plugin from github, for example:
https://github.com/medcl/elasticsearch-analysis-string2int,
the command is: $ bin/plugin --install
medcl/elasticsearch-analysis-string2int , but I get the exception:
"IllegalArgumentException: Plugin installation assumed to be site plugin,
but contains source code, aborting installation"
I tried with version following plugin name, but it doesn't work either.
Could anybody tell me how to install such type of plugins? Thanks.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

You can no longer install non-site plugins directly from github. You would
need to clone the project and build it yourself. It appears they created a
jar for it, but you would still need to create the directories:
https://github.com/medcl/elasticsearch-rtf/tree/master/elasticsearch/plugins/analysis-string2int

On Wed, Nov 13, 2013 at 5:51 PM, Daniel Guo daniel5hbs@gmail.com wrote:

I try to install a plugin from github, for example:
GitHub - medcl/elasticsearch-analysis-string2int: string2integer analysis for elasticsearch,save your memory and reduce the size of your index,the size of the filedcache can be reduced from giga to mega,and also the query time can be reduced from minutes to millionseconds.,
the command is: $ bin/plugin --install
medcl/elasticsearch-analysis-string2int , but I get the exception:
"IllegalArgumentException: Plugin installation assumed to be site plugin,
but contains source code, aborting installation"
I tried with version following plugin name, but it doesn't work either.
Could anybody tell me how to install such type of plugins? Thanks.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.