Skip to content

Date Tiered Compaction #15412

@churromorales

Description

@churromorales

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:

    1. Is this feasible and something the community would want?
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions