概念解释
Too many documents具体是指什么?索引数?索引文档数?
异常信息
在splitShard时,报错如下:
Caused by: org.apache.lucene.index.CorruptIndexException: Too many documents: an index cannot exceed 2147483519 but readers have total maxDoc=2147483529
at org.apache.lucene.index.BaseCompositeReader.<init>(BaseCompositeReader.java:83)
at org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:342)
at org.apache.lucene.index.StandardDirectoryReader.<init>(StandardDirectoryReader.java:45)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:120)
at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:460)
at org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:291)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:276)
at org.apache.lucene.inde