Skip to content

Commit

Permalink
Merge pull request #2905 from alphagov/ltr-removal
Browse files Browse the repository at this point in the history
Disable Learning to Rank's involvement in queries
  • Loading branch information
sihugh committed May 14, 2024
2 parents 43862fb + 67d42bb commit f295032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/search/query_parameters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def suggest_spelling?
end

def rerank
RelevanceHelpers.ltr_enabled? && [nil, "relevance"].include?(order) && ab_tests[:relevance] != "disable"
false
end

def use_shingles?
Expand Down

0 comments on commit f295032

Please sign in to comment.