francesconero / elasticsearch-concatenate-token-filter

Elasticsearch plugin which only provides a TokenFilter that merges tokens in a token stream back into one. Taken from http://elasticsearch-users.115913.n3.nabble.com/Is-there-a-concatenation-filter-td3711094.html
Apache License 2.0
13 stars 39 forks source link

Elastic Search v6.x support? #12

Open robvolk opened 6 years ago

robvolk commented 6 years ago

I'm trying to use this with ES v6.x, but I can't get it to install. What's needed to get this to work with ES6? Thanks a ton - this filter is exactly what I need.

bomberby commented 6 years ago

I have not used ES 6 yet, but i'd suggest starting from https://github.com/bomberby/elasticsearch-concatenate-token-filter/commits/es-5.2.0, as most of the changes for 5.2 are there in that commit, I'm not sure if they changed any of the plugins mechanism.

For starters, the most likely things that needs to be done:

Change relevant ES versions in following files:

pom.xml
plugin-descriptor.properties
target/classes/es-plugin.properties

If any major change was done to ES way of writing plugins, these will need to change as well, please look at example plugins run mvn clean install and copy result files from target/releases to root for easier linking

robvolk commented 6 years ago

Oh great! Thanks for pointing me in the right direction @bomberby.

robvolk commented 6 years ago

After I change the version info, how do I build it? Don't have any experience with the ES plugin ecosystem.

bomberby commented 6 years ago

You should use maven to build, i think running mvn clean install from the project root directory will create the files.