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

Joel Bernstein commented on SOLR-6308:
--------------------------------------

David, it's possible that what you're seeing is noted in this ticket: 
SOLR-6066. So this is an issue with the CollapsingQParserPlugin. 






> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to