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

Markus Jelsma commented on SOLR-7759:
-------------------------------------

With TLOG, each shard replica is identical to all other TLOG or PULL replica's, 
and therefore all the termStats are identical too.

So it doesn't matter anymore if the main query hits some replica's, and the 
debug query hits others (or is not distributed), they see the same stats.

This doesn't work, of course, if you have one or more NRT replica's for a shard.

> DebugComponent's explain should be implemented as a distributed query
> ---------------------------------------------------------------------
>
>                 Key: SOLR-7759
>                 URL: https://issues.apache.org/jira/browse/SOLR-7759
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Varun Thacker
>            Priority: Major
>         Attachments: SOLR_7759.patch
>
>
> Currently when we use debugQuery to see the explanation of the matched 
> documents, the query fired to get the statistics for the matched documents is 
> not a distributed query.
> This is a problem when using distributed idf. The actual documents are being 
> scored using the global stats and not per shard stats , but the explain will 
> show us the score by taking into account the stats from the shard where the 
> document belongs to.
> We should try to implement the explain query as a distributed request so that 
> the scores match the actual document scores.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to