David Boychuck created SOLR-6308:
------------------------------------

             Summary: 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


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.



--
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