[GitHub] lucene-solr pull request #527: LUCENE-8609: Allow getting consistent docstat...

2018-12-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/lucene-solr/pull/527 --- - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org

[GitHub] lucene-solr pull request #527: LUCENE-8609: Allow getting consistent docstat...

2018-12-14 Thread dnhatn
Github user dnhatn commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/527#discussion_r241832076 --- Diff: lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java --- @@ -3300,7 +3315,7 @@ public int numDeletesToMerge(SegmentCommitInfo info

[GitHub] lucene-solr pull request #527: LUCENE-8609: Allow getting consistent docstat...

2018-12-14 Thread dnhatn
Github user dnhatn commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/527#discussion_r241832034 --- Diff: lucene/core/src/test/org/apache/lucene/index/TestIndexWriter.java --- @@ -3147,7 +3162,7 @@ public void testSoftUpdateDocuments() throws IOExc

[GitHub] lucene-solr pull request #527: LUCENE-8609: Allow getting consistent docstat...

2018-12-13 Thread dnhatn
Github user dnhatn commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/527#discussion_r241504268 --- Diff: lucene/core/src/java/org/apache/lucene/index/IndexWriter.java --- @@ -5289,4 +5289,48 @@ final synchronized boolean segmentCommitInfoExist(Segm

[GitHub] lucene-solr pull request #527: LUCENE-8609: Allow getting consistent docstat...

2018-12-13 Thread s1monw
GitHub user s1monw opened a pull request: https://github.com/apache/lucene-solr/pull/527 LUCENE-8609: Allow getting consistent docstats from IndexWriter Today we have #numDocs() and #maxDoc() on IndexWriter. This is enough to get all stats for the current index but it's subject t