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

Jan Høydahl commented on SOLR-6573:
-----------------------------------

Good comment from [[email protected]] about the case where people 
explicitly use localParam "v" in the query, e.g.:
bq. q={!lucene q.op=AND v=$qq}&qq=foo
Then this patch will not help. Will leave this issue open and explore hoss' 
suggestion from the mailing list about getting the query from the 
ResponseBuilder.

> Query elevation fails when localParams are used
> -----------------------------------------------
>
>                 Key: SOLR-6573
>                 URL: https://issues.apache.org/jira/browse/SOLR-6573
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.10.1
>            Reporter: Radek Urbas
>            Assignee: Jan Høydahl
>             Fix For: 5.0
>
>         Attachments: SOLR-6573.patch, SOLR-6573.patch
>
>
> Elevation does not work when localParams are specified.
> In example collection1 shipped with Solr query like this one 
> {code}http://localhost:8983/solr/collection1/elevate?q=ipod&fl=id,title,[elevated]{code}
>  properly returns elevated documents on top.
> If localParams are specified e.g. {!q.op=AND} in query like 
> {code}http://localhost:8983/solr/collection1/elevate?q=\{!q.op=AND\}ipod&fl=id,title,[elevated]{code}
> documents are not elevated anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to