Make it possible to configure an alternative IndexDeletionPolicy

Description

This is an important feature to have when using the Infinispan Directory as a clever DeletionPolicy can avoid read locking operations across the cluster, which are very expensive on Infinispan.

Environment

None

Activity

Show:
Sanne Grinovero
August 4, 2011, 1:39 AM

When implementing this, make sure to use the org.hibernate.search.util.impl.ClassLoaderHelper to load the custom types as we do in all other extension points.

Sanne Grinovero
March 17, 2014, 3:05 PM

Revised comment, as my previous suggestion is now out of date: you now probably want to use the ClassLoaderService and the ClassLoaderHelper. Should be easy, just needs a test and document the configuration property.

Assignee

Gustavo Fernandes

Reporter

Sanne Grinovero

Labels

Suitable for new contributors

Yes, likely

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure