couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Is there a way to force a rebuild of an index?
Date Mon, 19 Jan 2009 13:13:47 GMT
Are both versions of couchdb 0.8.0?

Even if so, you might try a dump/load cycle to see if that makes
things better. couchdb-python has some nice utilities for that via
couchdb-dump and couchdb-load

HTH,
Paul Davis

On Mon, Jan 19, 2009 at 8:06 AM, Jason Huggins <jason@jrandolph.com> wrote:
> Hi, all!
>
> Quick Question:
> Is there a way to *force* CouchDB to rebuild all indexes in some
> stronger way than using the HTTP API?
>
> Why I ask:
> I'm running 0.8.0-incubating on Ubuntu (Hardy Heron). I'm trying to
> move my couchdb files from an old server to a new server, using this
> filesystem backup doc in the wiki as a guide. (
> http://wiki.apache.org/couchdb/How_to_make_filesystem_backups )
> (Ironically, I wrote that page in the wiki, but the page history
> doesn't show it!) :-)
>
> However, after the move, I noticed that several of my indexes (even
> some "_all_docs" views are wrong and stale. (Thankfully, the actually
> documents are still there, though.) I tried adding and updating new
> docs, and I tried simply querying the views to trigger a rebuild of
> the indexes. But so far, the indexes are still wrong. I even tried
> deleting the ".<db_name>_design" directories on the filesytem. So far,
> nothing has worked. Any ideas?
>
> -j.
>

Mime
View raw message