Amedeo,

If you can afford the disk space, it's a fair tradeoff. I've used a
similar strategy in the past, and it worked out well for me.

You may want to consider limiting the maximum size of tag combinations
to index. For example, I changed my view to emit tag combination
arrays with no more than 4 elements. This could significantly reduced
the index size if your documents have many tags.


Cheers,

Zach


On Thu, Feb 10, 2011 at 9:29 AM, Amedeo Paglione
<[email protected]> wrote:
> Hi all,
>
> I have been playing with CouchDB for a while and I had to address the
> problem of retrieving documents which match a list of tags.
>
> I have documented my approach here:
>
> https://gist.github.com/820412
>
> It is working, but I am wondering what could be an alternative and more
> efficient solution to this problem.
>
> Regards,
> --
> Amedeo
>

Reply via email to