Skip to content

Comments

factor out SolrIndexSearcher.populateScoresIfNeeded method#2280

Merged
cpoerschke merged 1 commit intoapache:mainfrom
cpoerschke:SolrIndexSearcher-populateScoresIfNeeded
Feb 20, 2024
Merged

factor out SolrIndexSearcher.populateScoresIfNeeded method#2280
cpoerschke merged 1 commit intoapache:mainfrom
cpoerschke:SolrIndexSearcher-populateScoresIfNeeded

Conversation

@cpoerschke
Copy link
Contributor

Small refactoring, noticed whilst code reading on #2248 pull request. No JIRA or CHANGES.txt entry needed here IMHO.

The refactoring also makes it easier to see that there is what appears to be an inconsistency on the two code paths w.r.t. score mode and hits relation -- that might benefit from further investigation and perhaps changes-with-test-coverage to make the two code paths consistent but I'd consider that to be outside the scope of this pull request i.e. this here is a like-for-like refactoring only. WDYT?

@cpoerschke cpoerschke marked this pull request as ready for review February 19, 2024 16:51
@cpoerschke cpoerschke merged commit 065d21a into apache:main Feb 20, 2024
@cpoerschke cpoerschke deleted the SolrIndexSearcher-populateScoresIfNeeded branch February 20, 2024 16:59
asfgit pushed a commit that referenced this pull request Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants