[
https://issues.apache.org/jira/browse/SOLR-6322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Bayle updated SOLR-6322:
---------------------------------
Description:
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 :
[http://localhost: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.
was:
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 :
http://localhost: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.
> 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 :
> [http://localhost: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: [email protected]
For additional commands, e-mail: [email protected]