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

Chris M. Hostetter commented on SOLR-15307:
-------------------------------------------

Found while working on tests for SOLR-11921.

Assuming current SOLR-11921 patch gets committed, then any future work done to 
fix this issue should remove the test 'HACK' needed to work around the 
incorrect behavior (grep for SOLR-15307)

> 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
>            Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to