Ask Your Question
1

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

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

luigicelona0001 gravatar image

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

smaffulli gravatar image

I'm working with Swift All in One,and i used this : https://github.com/osaddon/cdmi (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

Comments

There was a presentation about metadata search in 2015: https://www.openstack.org/videos/summits/tokyo-2015/boosting-the-power-of-swift-using-metadata-search (https://www.openstack.org/videos/summ...). Any idea whether this has now made it into Swift?

Robin Winslow gravatar imageRobin Winslow ( 2019-10-08 04:12:48 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
2

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

cthier gravatar image

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

edit flag offensive delete link more
0

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

ddxgz gravatar image

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

smaffulli gravatar image

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

edit flag offensive delete link more

Comments

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 -0600 )edit
3

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

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

Comments

There was a presentation about metadata search in 2015: https://www.openstack.org/videos/summits/tokyo-2015/boosting-the-power-of-swift-using-metadata-search (https://www.openstack.org/videos/summ...). Any idea whether this has now made it into Swift?

Robin Winslow gravatar imageRobin Winslow ( 2019-10-08 04:12:52 -0600 )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

3 followers

Stats

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

Seen: 416 times

Last updated: Aug 18 '14