]
Sanne Grinovero updated HSEARCH-829:
------------------------------------
Fix Version/s: (was: 4.0.0.Final)
4.0.0.CR2
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.0.CR2
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: