You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2007/02/28 06:54:05 UTC

[jira] Commented: (SOLR-174) Add multi-param support to qf,pf,bf,bq

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

Hoss Man commented on SOLR-174:
-------------------------------

Mike: havne't looked into the patch, but what i was thinking would make sense for the bq issue back when i last thought about this, was to say:

  if: more then one bq param is specified:
     then: 
       foreach bq param value:
         trim the value
         if: the value is non blank
            then: parse value as a query and add to the main query
  else:
     legacy behavior

...that should be entirely backwards compatible, and gives people who really need a boolean query with a boost of 1 a way to force it (by adding a <null name="bq" /> to their appended params)

...we would just have to make sure it was clearly documented

thoughts?

> Add multi-param support to qf,pf,bf,bq
> --------------------------------------
>
>                 Key: SOLR-174
>                 URL: https://issues.apache.org/jira/browse/SOLR-174
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Mike Klaas
>         Assigned To: Mike Klaas
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: multiparam.patch
>
>
> A quick patch that adds multi-params support for the listed dismax params.
> I opened an issue to get some feedback on the bq situation.  I left the subquery-extraction logic as in, applying it to each specified boost query.  I'm not sure this is still valid given coordFactor and such.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.