Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 11/Oct/12 1:55 PM
Description:

Following a post on the forums (https://forum.hibernate.org/viewtopic.php?f=9&t=1024526&p=2466030#p2466030), Sanne suggested to open a feature request to track this.

I'm looking for a way to efficiently purge a subset of entities from the index.

My table contains around 1M entries. I want to be able to delete all objects that have a property set to a specific value.

My understanding as of today is that the only two options available to me at the FullTextEntityManager level (I use JPA) are:

public <T> void purgeAll(Class<T> entityType);

and

public <T> void purge(Class<T> entityType, Serializable id);

Obviously purgeAll is not what I want. However, calling purge on 500k objects yield disastrous performance as 500k units of work are going to be executed.

Project: Hibernate Search
Priority: Major Major
Reporter: Julien Serdaru
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira