Ask Your Question

How can I search for an object through the metadata in Swift?

asked 2013-04-12 08:55:05 -0500

luigicelona0001 gravatar image

updated 2014-08-18 10:12:23 -0500

smaffulli gravatar image

I'm working with Swift All in One,and i used this : (link text) to use cdmi. I m able to put,get and delete container and object.I am especially able to insert metadata in an object. My question is:how can I search for an object through the metadata? there is a function that allows me to do this,without the need to implement it myself?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2014-08-18 17:38:07 -0500

notmyname gravatar image

There is nothing implemented in upstream OpenStack Swift to do metadata indexing. Several deployers have implemented this functionality, but there has not been a concerted effort to bring this functionality into the core (or, honestly, an apparent strong desire to do so).

edit flag offensive delete link more

answered 2013-04-12 13:52:38 -0500

cthier gravatar image

We currently don't have the capability to filter container listings based on object metadata.

edit flag offensive delete link more

answered 2014-08-18 04:03:24 -0500

ddxgz gravatar image

updated 2014-08-18 10:13:08 -0500

smaffulli gravatar image

I don't know if this proposal of metadata search has been implemented.

edit flag offensive delete link more


I seriously doubt it was implemented. Check the blueprint linked, it's dated 2011 and has not been assigned, nor targeted.

smaffulli gravatar imagesmaffulli ( 2014-08-18 17:33:47 -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



Asked: 2013-04-12 08:55:05 -0500

Seen: 381 times

Last updated: Aug 18 '14