[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-176) explicitly setting cfg property to lucene default

Sanne Grinovero (JIRA) noreply at atlassian.com
Tue Apr 1 11:55:33 EDT 2008


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

Sanne Grinovero commented on HSEARCH-176:
-----------------------------------------

I'm sorry, forget about the "null" value, I made some confusion with another setting.
These are not nullable as they are primitives, they just have a notion of "unset".

> explicitly setting cfg property to lucene default
> -------------------------------------------------
>
>                 Key: HSEARCH-176
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-176
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: directory provider, documentation
>            Reporter: Sanne Grinovero
>            Priority: Trivial
>
> As highlighted by previous patch for http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-153 ,
> some configuration settings may be inherited, so it becomes difficult to explicitly set
> "default" settings on some settings as some values are "Integer.MAX_VALUE" or "null" but
> the cfg parser only accepts int values.
> Also if the users wants to explicitly set lucene defaults it needs to study the current lucene
> source code.
> I'm going to provide a patch to support besides current int values also "default" and "null"
> Strings, to explicitly configure H.Search to:
> "default" -> don't mess with the value
> "null" -> explicitly null the value
> Also someone may find it useful to represent "MAX_VALUE", what do you think about that,
> or other configurations that should be recognized?

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