[
https://issues.apache.org/jira/browse/SOLR-5541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959339#comment-13959339
]
Rahul Babulal commented on SOLR-5541:
-------------------------------------
FYI...,
There is a typo in the URL in the JIRA as well as the documentation,
The param elevatedIds, should be elevateIds
{code}
http://localhost:8983/solr/elevate?q=*:*&elevatedIds=3,4&excludeIds=6,8
{code}
> Allow QueryElevationComponent to accept elevateIds and excludeIds as http
> parameters
> ------------------------------------------------------------------------------------
>
> Key: SOLR-5541
> URL: https://issues.apache.org/jira/browse/SOLR-5541
> Project: Solr
> Issue Type: Improvement
> Components: SearchComponents - other
> Affects Versions: 4.6
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Priority: Minor
> Fix For: 4.7
>
> Attachments: SOLR-5541.patch, SOLR-5541.patch, SOLR-5541.patch,
> SOLR-5541.patch
>
>
> The QueryElevationComponent currently uses an xml file to map query strings
> to elevateIds and excludeIds.
> This ticket adds the ability to pass in elevateIds and excludeIds through two
> new http parameters "elevateIds" and "excludeIds".
> This will allow more sophisticated business logic to be used in selecting
> which ids to elevate/exclude.
> Proposed syntax:
> http://localhost:8983/solr/elevate?q=*:*&elevatedIds=3,4&excludeIds=6,8
> The elevateIds and excludeIds point to the unique document Id.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]