[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-274) Use Lucene's new readonly IndexReader

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Oct 25 16:40:05 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31532#action_31532 ] 

Emmanuel Bernard commented on HSEARCH-274:
------------------------------------------

what does your last sentence mean?

> 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