Re: [PR] Make Weight#scorerSupplier abstract, Weight#scorer final [lucene]

2024-04-20 Thread via GitHub
iamsanjay commented on PR #13319: URL: https://github.com/apache/lucene/pull/13319#issuecomment-2067645897 scorerSupplier has to be null if scorer is null. Therefore scorer was initialized inside the scorerSupplier, instead of scorerSupplier.get method. And if scorer evaluates to null then

[PR] Make Weight#scorerSupplier abstract, Weight#scorer final [lucene]

2024-04-20 Thread via GitHub
iamsanjay opened a new pull request, #13319: URL: https://github.com/apache/lucene/pull/13319 ### Description #13180 This PR would declare the scoreSupplier method abstract and marked scorer final. The nature of the change itself is not complex, however the large numbe