-
Notifications
You must be signed in to change notification settings - Fork 502
Labels
enhancementNew feature or requestNew feature or request
Description
Have index plugins return a list of files (and their sizes) in the index, which can be saved in IndexMetadata.
The benefits of this are:
- Cold read performance: the index reader can skip the initial
HEADcall to find the footer, if we store the size of the index file. - Makes index size stats available: We could report the on-disk size of the index in statistics (
describe_indices), without having to open the index.
Cleanup currently just uses the _index prefix and the UUID to determine what files to cleanup. But that means if any temporary files were written there they will be ignored. If this field is available we might want to use it for cleanup as well.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request