The documentation is very unclear (at least to me) around Query Elevation
Component and filter queries (fq param)

The documentation for Solr 4.9 states:

The fq Parameter
Query elevation respects the standard filter query (fq) parameter. That is,
if the query contains the fq parameter, all results will be within that
filter even if elevate.xml adds other documents to the result set.


Now when I read this it made me think that only documents that are contained
in the result set could be filtered. So when I apply a filter using the fq
param that removes a document from the result set it should no longer be
elevated.

I have tested the elevator component using the elevateId's and elevate.xml
and both still elevate documents that have been filtered from the result set
using the fq parameter IF they exist in the result set before filtering.

I would like to have the elevate component have an optional flag. Something
like showFiltered=false where any results that have been filtered from the
result set with the fq parameter will no longer be elevated.

I have created the following ticket if anybody wants to take a stab at it:
https://issues.apache.org/jira/browse/SOLR-6308



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Query-Elevation-Component-tp4150531.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to