public
Created

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12
diff --git a/src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java b/src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java
index 9f78fe8..11ef9a9 100644
--- a/src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java
+++ b/src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java
@@ -420,6 +420,7 @@ public final class DatabaseIndexer implements Runnable, ResponseHandler<Void> {
result.put("doc_del_count", reader.numDeletedDocs());
result.put("uuid", state.getUuid());
result.put("digest", state.getDigest());
+ result.put("update_seq", getUpdateSequence(reader.getIndexCommit().getUserData()));
final JSONArray fields = new JSONArray();
final Iterator<FieldInfo> it = ReaderUtil.getMergedFieldInfos(reader).iterator();
while (it.hasNext()) {

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.