couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <>
Subject Re: Forcing document reindex
Date Wed, 17 Nov 2010 13:43:40 GMT

On 17 Nov 2010, at 14:34, Nicolas Jessus wrote:

>> If you make a change to your view functions (a whitespace change will do)
>> and query the view again, it'll be rebuilt.
>> Please don't abuse your couch too much :)
>> Cheers
>> Jan
> Hello Jan,
> Thank you for the answer. I'd just like to avoid rebuilding entire views, and
> have the benefit of reindexing the document in whatever view it is needed. 
> So it's pretty much exactly the behavior of updating a document, but without
> actually incrementing its _rev number. Can Couch do that?

No. But storing the document with no changes will do the trick. Of course, CouchDB will update
the _rev field in the process.


View raw message