You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/03/26 23:28:30 UTC

[jira] [Issue Comment Edited] (SOLR-3278) edismax support for negative boost with "bq" parameter

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

James Dyer edited comment on SOLR-3278 at 3/26/12 9:27 PM:
-----------------------------------------------------------

I'm assuming here that negative boosts with "bq" was simply overlooked in the past.  If someone knows a good reason why this wasn't supported, or if this patch is naive, please let me know.

Otherwise I will commit this.
                
      was (Author: jdyer):
    I'm assuming here that negative boosts with "qf" was simply overlooked in the past.  If someone knows a good reason why this wasn't supported, or if this patch is naive, please let me know.

Otherwise I will commit this.
                  
> edismax support for negative boost with "bq" parameter
> ------------------------------------------------------
>
>                 Key: SOLR-3278
>                 URL: https://issues.apache.org/jira/browse/SOLR-3278
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>    Affects Versions: 4.0
>            Reporter: James Dyer
>            Assignee: James Dyer
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-3278.patch
>
>
> Both "bf" and "bq" allow users to enter a boost value after the carrot, but only "bf" allows negative values.  Here is a minor change and unit test to allow negative values on "bq" also.  

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