You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jonathan Bayle (JIRA)" <ji...@apache.org> on 2014/08/05 17:10:11 UTC

[jira] [Updated] (SOLR-6322) Use the BoostQParserPlugin via defType

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

Jonathan Bayle updated SOLR-6322:
---------------------------------

    Attachment: quickfix.patch

A quick patch.

> Use the BoostQParserPlugin via defType
> --------------------------------------
>
>                 Key: SOLR-6322
>                 URL: https://issues.apache.org/jira/browse/SOLR-6322
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 5.0
>         Environment: Solr dev/trunk r1615934
>            Reporter: Jonathan Bayle
>            Priority: Minor
>              Labels: patch
>         Attachments: quickfix.patch
>
>
> Use the BoostQParserPlugin with defType (global params).
> Currently the BoostQParserPlugin gets its parameters in the localParams only.
> This query works :
> http://localhost:8983/solr/collection1/select?q={!boost b="scale(price,0,1)"}price:*&fl=id,price
> This query does not :
> host:8983/solr/collection1/select?q=price:*&fl=id,price&defType=boost&b=scale(price,0,1)
> I don't know if there is a reason for it to behave that way.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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