[
https://hibernate.onjira.com/browse/HSEARCH-182?page=com.atlassian.jira.p...
]
Sanne Grinovero closed HSEARCH-182.
-----------------------------------
Resolution: Out of Date
Since introduction of IndexManager this doesn't apply, equals/hashcode are not
needed.
Use Directory getLockID() to uniquely identify a directory provider
-------------------------------------------------------------------
Key: HSEARCH-182
URL:
https://hibernate.onjira.com/browse/HSEARCH-182
Project: Hibernate Search
Issue Type: Improvement
Components: directory provider
Reporter: Emmanuel Bernard
Priority: Minor
Today the DirectoryProvider needs to implement equals and hashCode so that the underlying
Directory is unique.
We could delegate that to the directory.getLockID() which seem to fulfill the same
contract.
Not sure it works well with our lazy initialization strategy though. This needs to be
checked out.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira