[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-318) Extend IndexWriterSetting to take additional constructor arguement

Hardy Ferentschik (JIRA) noreply at atlassian.com
Tue Nov 3 06:43:53 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated HSEARCH-318:
--------------------------------------

    Summary: Extend IndexWriterSetting to take additional constructor arguement  (was: Extend IndexWriterSetting to include a flag indicating whether it makes sense to have different settings for batch and index)

I must have been on drugs when I wrote the original description for this issue :)
It only started to make sense to me once I looked at the linked issue. At the moment the IndexWriterSetting constructor only takes the configuration key name. I was suggesting to add another parameter to the constructor which indicates whether this particular option can have different values for batch vs transactional mode. As mentioned in the linked issue having different values for use_compound_file in batch and transactional mode should throw an exception. 
This additional parameter could be another emum:

public enum ModeDisparity {
  ALLOWED,
  WARN,
  THROW_EXCEPTION
}

Given that the linked issue is already resolved this might be obsolete now.


> Extend IndexWriterSetting to take additional constructor arguement
> ------------------------------------------------------------------
>
>                 Key: HSEARCH-318
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-318
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>            Reporter: Hardy Ferentschik
>             Fix For: 3.2.0.Beta2
>
>
> Not sure whether IndexWriterSetting is the right place to do this, but I think it could work. This issue relates to HSEARCH-298.

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