Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-17296: fix "explain" bugs with rerank scaling + multi-shard #2465

Closed
wants to merge 8 commits into from

Conversation

hossman
Copy link
Member

@hossman hossman commented May 17, 2024

https://issues.apache.org/jira/browse/SOLR-17296

Implements the fix proposed in jira...

I recommend we immediately:

  • revert the logic added by SOLR-16931
  • Open a new SOLR-XXX jira for long term consideration of how to redesign debug component to get the multistage info needed for explaining reranked results
  • harden ReRankScaler.explain so that if the dat it expects isn't available, it wraps the data it DOES have with a "0.0 == scaled reranking not available (consider using distrib.singlePass - see SOLR-XXX)"

...branch currently has one nocommit pertaining to what (new) jira we want to cite and link to (where we can have a longer term discussion & implementation of a fix that doesn't require using distrib.singlePass)

This gets us back to the simple case of all tests failing with NPE
…s to fully populate the explain

And updated the test to expect this explanation, but assert we get accurate explanation if 'distrib.singlePass' is used
@hossman
Copy link
Member Author

hossman commented May 17, 2024

manually squash merged to main & backported to 9x & 9.6.1

@hossman hossman closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant