-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
As far as I can tell, Lucene doesn’t currently have a date‑tiered merge policy. I’m considering adding one to better support temporal queries over recent time windows.
On our larger clusters we see frequent paging of index data in and out of the cache. While most users write in temporal order—and TieredMergePolicy often produces a layout similar to what a date‑tiered approach would—it can still create segments with overlapping time ranges. I’m proposing a time‑aware merge policy, similar in spirit to the “date‑tiered compaction” described here: https://engineering.atspotify.com/2014/12/date-tiered-compaction/
I’d appreciate guidance on two points:
-
- Is this feasible and something the community would want?
- Is it worthwhile, or do current features/configurations already achieve something similar?
If this is something interesting to the community, I am happy to write up a design doc and work on this task.
Thanks