incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Foulkes <sfoul...@fnal.gov>
Subject Changes API and document revisions
Date Wed, 24 Nov 2010 21:55:29 GMT
I have a service that polls the _changes API and noticed that it will 
only return the latest revision of a document.  For example:

poll _changes last_seq = 1

update doc1 -> rev1, seq = 2
update doc2 -> rev1, seq = 3
update doc1 -> rev2, seq = 4

poll _changes, last_seq = 1

The last call to the _changes will return changes for doc1 and doc2 but 
only sequence 4 for doc1.  Is there any way to retrieve all of the 
documents and sequences from _changes?  The _all_docs_by_seq view works 
the same way.

Steve

Mime
View raw message