You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Boychuck (JIRA)" <ji...@apache.org> on 2014/08/01 02:09:39 UTC

[jira] [Created] (SOLR-6308) Remove filtered documents from elevated set

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