iverase commented on PR #16847:
URL: https://github.com/apache/lucene/pull/16847#issuecomment-6288460626
hmmm, something is not working as expected then, I have indexed more than
Integer.MAX_VALUE documents and force merge to 1 segment and I get the
following error:
```
invalid softDelCount=0 (maxDoc=-2147482649)
java.lang.IllegalArgumentException: invalid softDelCount=0
(maxDoc=-2147482649)
at
org.apache.lucene.index.SegmentCommitInfo.setSoftDelCount(SegmentCommitInfo.java:387)
at
org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:5638)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:5126)
at
org.apache.lucene.index.IndexWriter$IndexWriterMergeSource.merge(IndexWriter.java:6932)
at
org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:661)
at
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:726)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]