I think you could create a separate view for selecting articles by
multiple tags.
1. Pass keys as a single string, e.g. ...?key="python,couchdb"
2. Explode the string in the view map function and return doc only if
all tags match.
Would it work?
Michal
On Feb 12, 2009, at 12:22 PM, Nicolas Clairon wrote:
Thanks for your quick response.
the line:
curl -X POST http://localhost:5984/blog/_view/articles/by_tags -d
'{"keys":["python", "couchdb"]}'
gives me all the articles tagged with "python" *or* "couchdb"... but
how can I handle this to have only
the articles tagged with "python" *and* "couchdb" in one shot ?
---------------
Michal Frackowiak
http://michalfrackowiak.com