You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2021/04/01 18:08:00 UTC

[jira] [Created] (SOLR-15307) QueryElevationComponent forceElevation=true behaves oddly when "sort=score asc"

Chris M. Hostetter created SOLR-15307:
-----------------------------------------

             Summary: QueryElevationComponent forceElevation=true behaves oddly when "sort=score asc"
                 Key: SOLR-15307
                 URL: https://issues.apache.org/jira/browse/SOLR-15307
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Chris M. Hostetter


This is a very atypical usecase that i doubt impacts any actual users but popped up when i was working on some randomized testing so i wanted to file it for general knowledge/tracking...

* QEC typically only elevates documents if the sort starts with {{score desc}}
* {{forceElevation=true}} is suppose to ensure that elevated docs appear "first" in the results, even if some other primary sort is used
* in the -- very unlikely -- case that {{score asc}} is used as the primary sort, {{forceElevation=true}} does not work



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org