Avoid frequent checking for index existance in backend
------------------------------------------------------
Key: HSEARCH-1043
URL:
https://hibernate.onjira.com/browse/HSEARCH-1043
Project: Hibernate Search
Issue Type: Improvement
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Priority: Minor
Fix For: 4.1.0.Beta2
The IndexWriter now offers an OpenMode option; when not set (as in current code), the
IndexWriter will need to performa additional IO operations to know if it needs to create a
new index or expect an existing one. We already check for any need to create an index at
IndexManager initialization, so this is an unneeded check.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira