Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
NRTCachingDirectory assumes that the length of a file to write is 0 if there is no merge info or flush info. This is not correct as there are situations when Lucene might write very large files that have neither of them, for instance:
- Stored fields are written on the fly with IOContext.DEFAULT (which doesn't have flush or merge info) and without taking any of the IndexWriter buffer, so gigabytes could be written before a flush happens.
- BKD trees are merged with IOContext.DEFAULT.
Attachments
Issue Links
- links to