Skip to content

Commit

Permalink
making this private because it's not clear we need to extend LeafScor…
Browse files Browse the repository at this point in the history
…eFunction to support it right now
  • Loading branch information
john-wagster committed Aug 13, 2024
1 parent caaea63 commit e53cb4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public LeafScoreFunction getLeafScoreFunction(LeafReaderContext ctx) throws IOEx
leafScript._setShard(shardId);
return new LeafScoreFunction() {

public double score(int docId, float subQueryScore, ScoreScript.ExplanationHolder holder) throws IOException {
private double score(int docId, float subQueryScore, ScoreScript.ExplanationHolder holder) throws IOException {
leafScript.setDocument(docId);
scorer.docid = docId;
scorer.score = subQueryScore;
Expand Down

0 comments on commit e53cb4a

Please sign in to comment.