[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-153) Provide the possibility to configure writer.setRAMBufferSizeMB() (Lucene 2.3)

Sanne Grinovero (JIRA) noreply at atlassian.com
Tue Mar 25 17:33:33 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29881 ] 

Sanne Grinovero commented on HSEARCH-153:
-----------------------------------------

about "batchIndexParameters.setRamBufferSizeMB(64); " :
I'm sure the Lucene team knows how to set good defaults for general use, what I'm suggesting is to
set a default for the "batch" indexing mode;
For non-batch indexing mode the RamBufferSize is less critical, as I expect it to never fill the default value before a forced flush(),
but in batch mode it has a great impact on performance: the IndexWriter javadoc recommends setting it as high as possible,
so I was thinking in proposing a bit higher default for batch mode;
maybe 64MB could be dangerous for people not setting JVM heap parameters(or automated testings), so maybe it's not a good idea
and it could be better to just recommend the user to set a high setting (already done in docs).

What do you mean with "I am for a "default" value, open a different JIRA issue for it."?
Should I open another issue to discuss appropriate default values?

> Provide the possibility to configure writer.setRAMBufferSizeMB()  (Lucene 2.3)
> ------------------------------------------------------------------------------
>
>                 Key: HSEARCH-153
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-153
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: engine
>            Reporter: Emmanuel Bernard
>             Fix For: 3.1.0
>
>         Attachments: patch.txt
>
>


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