Skip to content

Commit

Permalink
splotless
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoop committed Feb 10, 2025
1 parent cbd13b9 commit 7b81006
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void onFailure(Exception e) {
RankFeatureDoc[] rankDocs = new RankFeatureDoc[inputDocs.length];
for (int i = 0; i < inputDocs.length; i++) {
ScoreDoc doc = inputDocs[i];
rankDocs[i] = new RankFeatureDoc(doc.doc, Float.isNaN(doc.score) ? 1f / (i+1) : doc.score, doc.shardIndex);
rankDocs[i] = new RankFeatureDoc(doc.doc, Float.isNaN(doc.score) ? 1f / (i + 1) : doc.score, doc.shardIndex);
}
RankDoc[] topResults = rankFeaturePhaseRankCoordinatorContext.rankAndPaginate(rankDocs, false);
SearchPhaseController.ReducedQueryPhase reducedRankFeaturePhase = newReducedQueryPhaseResults(
Expand Down

0 comments on commit 7b81006

Please sign in to comment.