couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Zedeler <mich...@zedeler.dk>
Subject Re: Force update of index?
Date Tue, 16 Nov 2010 12:34:07 GMT
On 2010-11-16 12:42, Jan Lehnardt wrote:
> On 16 Nov 2010, at 12:15, Michael Zedeler wrote:
>> I know I have taken a wrong turn somewhere earlier when I designed my schema, but...
>>
>> I need a way to force CouchDB to regenerate an index because it is date dependent
(bummer!).
>>
>> Isn't there some URL I can GET in order to tell CouchDB to regenerate a specific
view?
> Just change one of the map or reduce funtions (a whitespace change will do) and save
> the design doc. Now query one of the views. Done.
Thanks. It worked.

However, I'd like to know if there is any other method where I can 
choose a specific view to refresh (since this triggers a reindex of 
every view in the design document)...

Regards,

Michael.

Mime
View raw message