[ 
https://issues.apache.org/jira/browse/SOLR-9124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antony Scerri updated SOLR-9124:
--------------------------------
    Attachment: SOLR-9124.patch

The attached patch extends upon SOLR-1922 and SOLR-1923 to support use of 
ExactStatsCache with grouped results. The test cases have been extended to 
demonstrate the problem with grouped results and then fix the problem by 
enabling it in the query evaluation phases.

Because the code branches used for grouped and ungrouped queries differs for 
the common elements such as sorting this still lead to an unfortunate scenario 
where documents with the same score are not ordered across and within groups in 
the same manner (eg shard index and then position in results as secondary and 
tertiary sorting criteria). This means some of the test cases are resorting 
items to look for the correct scores but cannot rely upon the native sorting.

The patch is against the 5.x branch and built upon the patch with SOLR-9122 and 
SOLR-1923 but should be straightforward to apply to the master. 


> Grouped Results does not use ExactStatsCache
> --------------------------------------------
>
>                 Key: SOLR-9124
>                 URL: https://issues.apache.org/jira/browse/SOLR-9124
>             Project: Solr
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 5.5, 6.0
>            Reporter: Antony Scerri
>              Labels: ExactStatsCache, Grouping
>             Fix For: 5.5.1, 6.1
>
>         Attachments: SOLR-9124.patch
>
>
> When using grouped results and trying to use ExactStatsCache it has no 
> effect. The grouped by code branches off and doesn't incorporate those steps 
> in the evaluation. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to