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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
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


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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)

     [ https://issues.apache.org/jira/browse/SOLR-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Dyer updated SOLR-3278:
-----------------------------

    Attachment: SOLR-3278.patch

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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

    [ 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

Sebastian Nagel (Jira)
In reply to this post by Sebastian Nagel (Jira)

     [ https://issues.apache.org/jira/browse/SOLR-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Dyer resolved SOLR-3278.
------------------------------

    Resolution: Fixed

committed to Trunk: r1305908 .
               

> 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: [hidden email]
For additional commands, e-mail: [hidden email]