[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-275) support new NIOFSDirectory, a multithreaded optimized FSDirectory

Sanne Grinovero (JIRA) noreply at atlassian.com
Sun Oct 26 11:46:04 EDT 2008


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

Sanne Grinovero commented on HSEARCH-275:
-----------------------------------------

it appears that to enable this FSDirectory variant a system propery has to be set (just as for MMapDirectory)
which will change the behaviour of existing FSDirectoryProvider.
Should we parse this property from the configuration and set it, or just document the system property to be set?
(in the latter case, no change is needed to the code, besides docs)

> support new NIOFSDirectory, a multithreaded optimized FSDirectory
> -----------------------------------------------------------------
>
>                 Key: HSEARCH-275
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-275
>             Project: Hibernate Search
>          Issue Type: Improvement
>            Reporter: Sanne Grinovero
>            Assignee: Sanne Grinovero
>
> # LUCENE-753: Added new Directory implementation org.apache.lucene.store.NIOFSDirectory, which uses java.nio's FileChannel to do file reads. On most non-Windows platforms, with many threads sharing a single searcher, this may yield sizable improvement to query throughput when compared to FSDirectory, which only allows a single thread to read from an open file at a time.
> (Jason Rutherglen via Mike McCandless)

-- 
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