jpountz commented on PR #14325: URL: https://github.com/apache/lucene/pull/14325#issuecomment-2705668964
@DivyanshIITB Deletion policies are configurable via `IndexWriterConfig#setIndexDeletionPolicy`, see e.g. `SnapshotDeletionPolicy` which allows for finer-grained maintenance of snapshots of an index. If users want something more sophisticated, they can also create their own deletion policy. If you have an idea of a deletion policy that is not straightforward to implement in Lucene and that could be useful to many users, you could contribute it as a new deletion policy. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org