Tag sets intersection is one of frequently asked questions, the easiest and most straightforward way I found for myself is couchdb-lucene. In fact, it enables you to do a lot more. Check it out!
And go back for help, if needed. ;) On 25 July 2010 20:18, Joe Bloggs <[email protected]> wrote: > I have been impressed with couchdb so far but I have now hit the first problem > that I cannot see how to resolve easily. > > I have a few test documents with a photo attached to each. I want to tag these > photos so I have a field called tags. This tag field may contain 1 or many > tags. > > For example:- > > [ "holiday","camping"] > or > ["holiday","skiing"] > > I can easily create a view that allows me to search the tags with > ?key="holiday" > however I cannot work out how to select photos which contains both tag1 and > tag2. > > Any guidance would be appreciated. > > Regards > > Robin > > > -- DU
