Skip to content

Commit

Permalink
Reverting CI fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
afoucret committed Dec 12, 2023
1 parent c31fc58 commit 372f5bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ private static void reportClashingNodeAttribute(String attrName) {

@Override
public List<RescorerSpec<?>> getRescorers() {
if (enabled && machineLearningExtension.get() != null && machineLearningExtension.get().isLearningToRankEnabled()) {
if (enabled && machineLearningExtension.get().isLearningToRankEnabled()) {
return List.of(
new RescorerSpec<>(
LearningToRankRescorerBuilder.NAME,
Expand Down

0 comments on commit 372f5bc

Please sign in to comment.