Thanks Jan, On 01/02/2009, at 10:00 PM, Jan Lehnardt wrote:
To save the others from searching: http://mail-archives.apache.org/mod_mbox/couchdb-user/200812.mbox/%3c27bfb81f-9ae2-419c-8911-3f26d82a7...@gmail.com%3e :-)
Note that if you want to do this, please read the thread because a) that code isn't strictly correct and b) there are some other issues to be aware of (and I'm guilty of some misinformation partway through that thread). Furthermore, it's only a proof-of-concept test example.
In summary, alternate forms of indexing in an _external is easy, although it is single-threaded, which it turns out to be lucky because it guarantees that the _external sees a monotonic increasing update_seq without any tricky coordination issues when updating your index.
Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 What can be done with fewer [assumptions] is done in vain with more -- William of Ockham (ca. 1285-1349)