lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sambhav Kothari (JIRA)" <>
Subject [jira] [Created] (SOLR-13143) Output from ExplainAugmenterFactory and DebugQuery for rerank queries is not same
Date Thu, 17 Jan 2019 12:42:00 GMT
Sambhav Kothari created SOLR-13143:

             Summary: Output from ExplainAugmenterFactory and DebugQuery for rerank queries
is not same
                 Key: SOLR-13143
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: search
    Affects Versions: 7.5
            Reporter: Sambhav Kothari
         Attachments: bug.patch

Currently, if we use the ExplainAugmenterFactory with LtR, instead of using the 
model/re-rankers explain method, it uses the default query explain (tf-idf 
explanation). This happens because the BasicResultContext doesn't wrap the 
7) with the RankQuery when its set to context's query, which is then used by 
the ExplainAugmenterFactory. 

As a result there are discrepancies between queries like -

=json&fl=[explain style=nl],score&rq=\{!ltr model=linear-model}

=json&fl=score&rq=\{!ltr model=linear-model}&debugQuery=true

the former outputs the explain from the SimilarityScorer's explain while the 
latter uses the correct LtR ModelScorer's explain.

There are a few other problems with the explain augmenter - for eg. it doesn't 
work with grouping (although the other doc transformers like LtR's 
LTRFeatureLoggerTransformerFactory work with grouping)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message