couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Smrchy <>
Subject Re: Brain check on CouchDB views
Date Tue, 10 Nov 2009 14:43:11 GMT
Hi Markus,
those simple steps you take are very interesting - i was also running into
those big reduce problems. Though i admit i am still far away from
understanding everything about reduce and rereduce.

In you example how would you give back only the top 50 tags out of all your
tags in your


Is there an easy way for this?


On Wed, Nov 8, 2006 at 5:41 PM, Markus Wolff <>wrote:

> Paul Davis wrote:
>> Markus,
>> Your thinking is spot on.
> Wow, that's a first :-P
>  The short answer is no. The long answer is probably not unless you
>> know which tags you want in the OR beforehand when you build the view.
>> The only other way is to use an external indexer.
>> The reasoning is that boolean logic like this is gonna require
>> multiple index traversals which CouchDB doesn't allow. As such, the
>> best answer is either do the logic client side with some effort, or
>> use an external indexer like couchdb-lucene.
> Thanks for clearing that up, having confirmed that, I feel confident to
> proceed in my endeavours ;-)
> CU
>  Markus

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message