lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3796) Disallow setBoost() on StringField, throw exception if boosts are set if norms are omitted
Date Fri, 17 Feb 2012 15:39:59 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210340#comment-13210340
] 

Michael McCandless commented on LUCENE-3796:
--------------------------------------------

+1
                
> Disallow setBoost() on StringField, throw exception if boosts are set if norms are omitted
> ------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3796
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3796
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 4.0
>
>         Attachments: LUCENE-3796.patch, LUCENE-3796.patch
>
>
> Occasionally users are confused why index-time boosts are not applied to their norms-omitted
fields.
> This is because we silently discard the boost: there is no reason for this!
> The most absurd part: in 4.0 you can make a StringField and call setBoost and nothing
complains... (more reasons to remove StringField totally in my opinion)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message