kzwang / elasticsearch-image

Content Based Image Retrieval Plugin for Elasticsearch. It allows users to index images and search for similar images.
http://demo.elasticsearch-image.com/
Apache License 2.0
407 stars 151 forks source link

Support for elasticsearch 2.x #19

Open heberuriegas opened 8 years ago

heberuriegas commented 8 years ago

Seems like Elasticsearch 2..x is not supported. There is a plan to keep doing maintenance to this plugin?

rskvazh commented 8 years ago

+1

jm2garrido commented 8 years ago

+1 too.

I think there is no alternatives to this plugin, it is the only way to use LIRE, isn't it?

Wenbo-Li commented 8 years ago

+1

I think elasticsearch-image is a powerful tool which can be used in the real world. If stopped, it's a pity

kwatkins commented 8 years ago

+1

se7en007 commented 8 years ago

+1

gastonwu commented 8 years ago

+1

sourcedexter commented 8 years ago

+1

fabriziofortino commented 8 years ago

+1

fabriziofortino commented 8 years ago

I have found this fork https://github.com/Jmoati/elasticsearch-image that seems to be updated to elasticsearch 2.1

kiwionly commented 8 years ago

hi all, I just port it to 2.2.0.

still cannot use plugin to install, but clone this repository then using maven to build should not be a problem.

https://github.com/kiwionly/elasticsearch-image

fabriziofortino commented 8 years ago

That's great! Thanks @kiwionly

nakaji-dayo commented 8 years ago

great!

sourcedexter commented 8 years ago

@kiwionly , i built and installed the plugin but elastic search throws a lot of exceptions when started because of the plugin,was anyone able to successfully use it ?

kiwionly commented 8 years ago

U need to use elastic 2.2.0, try use gradle to build, it should be ok. On Mar 2, 2016 12:44 PM, "Akshay Pai" notifications@github.com wrote:

@kiwionly https://github.com/kiwionly , i built and installed the plugin but elastic search throws a lot of exceptions when started because of the plugin,was anyone able to successfully use it ?

— Reply to this email directly or view it on GitHub https://github.com/kzwang/elasticsearch-image/issues/19#issuecomment-191058514 .

utsav09211 commented 8 years ago

Hi @kiwionly . Thanks for the plugin. Wanted to know if there is any way to implement LSAFilter (or any other lire filter which does reranking based on feature) inside the plugin. ?

kiwionly commented 8 years ago

hi, currently that is no filter within plugin.

I not sure how should filter implements yet.

On Mar 2, 2016 8:26 PM, "utsav09211" notifications@github.com wrote:

Hi @kiwionly https://github.com/kiwionly . Thanks for the plugin. Wanted to know if there is any way to implement LSAFilter (or any other lire filter which does reranking based on feature) inside the plugin. ?

— Reply to this email directly or view it on GitHub https://github.com/kzwang/elasticsearch-image/issues/19#issuecomment-191220259 .

kiwionly commented 8 years ago

just upgrade LIRE version to 1.0b2. make maven for supported in eclipse project only. use Gradle for build instead.

saurabheights commented 8 years ago

Thanks @kiwionly . This is great news. Will spend this weekend to test this out.

fabriziofortino commented 8 years ago

gradle all the things!!! :+1:

sourcedexter commented 8 years ago

@kiwionly , I am using your Lire-Plugin for Elastic search 2.2.0 . When I index any number of images using JCD, the index works fine but when I search using JCD, then for many images, i get ArrayIndeOutOfBounds eecption, but fr toher images it searches fine. Any idea on that ?

kiwionly commented 8 years ago

Hi, i do try on FTCH and had image index issue when batch index. When using head plugin, no issue.

For CEDD, no index and search problem.

I still no time to look into that, not sure is problem from es or lire. On Apr 5, 2016 2:12 PM, "Akshay Pai" notifications@github.com wrote:

@kiwionly https://github.com/kiwionly , I am using your Lire-Plugin for Elastic search 2.2.0 . When I index any number of images using JCD, the index works fine but when I search using JCD, then for many images, i get ArrayIndeOutOfBounds eecption, but fr toher images it searches fine. Any idea on that ?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/kzwang/elasticsearch-image/issues/19#issuecomment-205668367

sourcedexter commented 8 years ago

@kiwionly , i found the issue, its to do with the way byte array is set in the plugin , il probably raise a PR on your Repo, with the fix

kiwionly commented 8 years ago

Ok cool ! Thx ! On Apr 7, 2016 12:07 PM, "Akshay Pai" notifications@github.com wrote:

@kiwionly https://github.com/kiwionly , i found the issue, its to do with the way byte array is set in the plugin , il probably raise a PR on your Repo, with the fix

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/kzwang/elasticsearch-image/issues/19#issuecomment-206688904

emaza commented 8 years ago

elastic.version = 2.2.0 using branch : https://github.com/kiwionly/elasticsearch-image I created the plugin via gradle and unzip to %elasticsearch%/plugins folder. Then trying to create mapping like example in Redme. I have this "unsupported parameters" error:

-first create index: curl -XPUT 'localhost:9200/test?pretty' -second crete mapping "like example in README.md" --return { "error": { "root_cause": [ { "type": "mapper_parsing_exception", "reason": "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]" } ], "type": "mapper_parsing_exception", "reason": "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]" }, "status": 400 }

negon commented 7 years ago

@emaza did you manage to solve this issue?

emaza commented 7 years ago

@negon I did not, I'm sorry

AntonioReyes commented 7 years ago

anyone using this plugin or an alternative with elastic v5.5 ?