lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject rollback and cumulative_add
Date Mon, 12 Oct 2009 05:26:50 GMT
Hello,

I found that rollback resets adds and docsPending count,
but doesn't reset cumulative_adds.

$ cd example/exampledocs
# comment out the line of <commit/> so avoid committing in post.sh
$ ./post.sh *.xml
=> docsPending=19, adds=19, cumulative_adds=19

# do rollback
$ curl http://localhost:8983/solr/update?rollback=true
=> rollbacks=1, docsPending=0, adds=0, cumulative_adds=19

Is this correct behavior?

Koji



Mime
View raw message