[
https://issues.apache.org/jira/browse/SOLR-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-6573:
------------------------------
Attachment: SOLR-6573.patch
Attaching patch with test case and quick fix, stripping localParam from query
before evaluating against Elevation dictionary
> 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
> Attachments: 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]