]
Emmanuel Bernard commented on HSEARCH-274:
------------------------------------------
not keen on the IR wrapping. It's an abstract class and Lucene is known for breaking
the hell out of everything between releases. I would rather stay as close as possible to
the common Lucene API usage.
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: Emmanuel Bernard
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: