[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-121) Should optimize set batch to true (for indexWriters)?

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Sep 28 15:37:58 EDT 2007


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

Hardy Ferentschik commented on HSEARCH-121:
-------------------------------------------

I think you are right. In LuceneBackendQueueProcessor each LuceneWorker queue gets scanned for at least one job which has the isBatch flag set. If you have a mixed queue with say a few index additions and one optimization you would in fact execute the index optimization in batch mode (meaning that mergeFactor, maxMergeDocs and maxBufferedDocs would be set for the index writers). 

I don't think that this really matters. So far I couldn't find any information whether these parameters have any influence on optimization. One would assume that they don't.

> Should optimize set batch to true (for indexWriters)?
> -----------------------------------------------------
>
>                 Key: HSEARCH-121
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-121
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: documentation, engine
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>


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