apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.46k stars 979 forks source link

Propagate the flush IOContext to stored fields / term vectors writers when index sorting is enabled. #13265

Closed jpountz closed 2 months ago

jpountz commented 2 months ago

This fixes index sorting to pass the correct IOContext to stored fields and term vectors writers when index sorting is enabled. This is important for things like NRTCachingDirectory.

jpountz commented 2 months ago

I tried to create a test for it but couldn't create a satisfying one.