[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-274) Use Lucene's new readonly IndexReader
Sanne Grinovero (JIRA)
noreply at atlassian.com
Sat Oct 11 04:42:04 EDT 2008
Use Lucene's new readonly IndexReader
-------------------------------------
Key: HSEARCH-274
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-274
Project: Hibernate Search
Issue Type: Improvement
Components: directory provider, documentation
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 3.1.0.CR1
# LUCENE-1329: Add optional readOnly boolean when opening an IndexReader. A readOnly reader is not allowed to make changes (deletions, norms) to the index; in exchanged, the isDeleted method, often a bottleneck when searching with many threads, is not synchronized. The default for readOnly is still false, but in 3.0 the default will become true.
(Jason Rutherglen via Mike McCandless)
In addition we should wrap the returned IndexReader to contain needed information to close it without having to search it back in synchronized hashmaps.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list