couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: Clarifications or bugs
Date Wed, 09 Apr 2008 22:35:29 GMT
On 09.04.2008, at 23:50, Søren Hilmer wrote:
> For the code on the fulltext I have relied on a few assumptions,  
> which on
> testing does not seam to hold.
> I would like to know if this is as intended or bugs.
>
> 1. when you filter a view, total_rows are always the total number of  
> documents
> in the view without the filter, so even if you specify say count=1,  
> you get
> total_rows=42 or something.

As intended, but I'd also like to have a count of the rows after  
filters applied.

> 2. startkey_docid does not seam to work, the first document in the  
> view is
> always returned.

startkey_docid needs to be combined with startkey to work correctly. I  
don't think it's even applied when there's no startkey.

Cheers,
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


Mime
View raw message