Ask Your Question
1

plug-in of Elastic search to Openstack Swift

asked 2013-05-22 04:21:59 -0500

anonymous user

Anonymous

updated 2013-05-23 13:30:43 -0500

smaffulli gravatar image

I am developing a social website.The photos and videos are going to store in OpenStack Swift.I want to connect Elastic Search with openstack Swift services. So any body can help me out how its possible?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2013-05-22 09:27:24 -0500

rbramley gravatar image

updated 2013-05-23 13:30:09 -0500

smaffulli gravatar image

The first question is how do you want to search the media files? e.g. finding similar images is far more complex than searching metadata

The typical approach is to use a pipeline to process the files and create/update the index document. This pipeline could be initiated by your website (and store the file in Swift) or by OpenStack Swift 'middleware' (WSGI filters around requests).

ElasticSearch has an attachment field type plugin that uses Apache Tika to parse the attachment - however the files need to be submitted to ES in Base64 encoding.

The choice of pipeline depends upon your requirements, this page on the Solr wiki may give you some pointers http://wiki.apache.org/solr/DocumentProcessing - for a recent project we implemented the pipeline following EIP patterns (e.g. Claim Check) using Spring Integration.

edit flag offensive delete link more
0

answered 2013-05-30 01:38:49 -0500

Sandeep kumar v gravatar image

i want plugins for openstack to elasticsearch. Exact process of connection to openstack to Elasticsearch? plzz help mee anybody!!!!!!!!!

edit flag offensive delete link more

Comments

Hi

did you find any solution ? please respond I have exact same scenario setting up solr with openstack swift

STAR123 gravatar imageSTAR123 ( 2016-10-21 15:41:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-05-22 04:21:59 -0500

Seen: 1,239 times

Last updated: May 30 '13