[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-829) Example IdHashShardingStrategy doesn't handle PurgeAll properly
Sanne Grinovero (JIRA)
noreply at atlassian.com
Tue Aug 2 05:07:23 EDT 2011
Example IdHashShardingStrategy doesn't handle PurgeAll properly
---------------------------------------------------------------
Key: HSEARCH-829
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-829
Project: Hibernate Search
Issue Type: Task
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.0
A PurgeAll command is handled by invoking
shardStrategy.getDirectoryProvidersForDeletion(Class<?> entity, Serializable id, String idInString)
and passing in null for the second and third arguments.
IdHashShardingStrategy should handle this case and return all indexmanagers.
Check the documentation to point this out as well.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list