[
https://issues.apache.org/jira/browse/SOLR-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Boychuck updated SOLR-6308:
---------------------------------
Comment: was deleted
(was: Could I use BitsFilteredDocIdSet for something like this?)
> Remove filtered documents from elevated set
> -------------------------------------------
>
> Key: SOLR-6308
> URL: https://issues.apache.org/jira/browse/SOLR-6308
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 4.9
> Reporter: David Boychuck
> Fix For: 4.10
>
> Original Estimate: 8h
> Remaining Estimate: 8h
>
> I would like to add a parameter to the Query Elevation Component. Something
> like showFiltered=false where any results that have been filtered from the
> result set with the fq parameter will no longer be elevated.
> as an example if I had two documents returned in a query
> {code}
> id="A"
> field_1="foo"
> id="B"
> field_1="bar"
> {code}
> I would want the following query to yield the shown results
> {code}
> /solr/elevate?q=*&fq=field_1:bar&elevate=true&elevateIds=A
> id="B"
> field_1="bar"
> {code}
> id A is removed from the results because it is not contained in the filtered
> results even though it is elevated. It would be nice if we could pass an
> optional parameter like showFiltered=false where any results that have been
> filtered from the result set with the fq parameter will no longer be
> elevated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]