From 44f2ebdbb6274c5eaebb21fc630ee78d5be231bb Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 1 Jan 2020 01:18:40 -0500 Subject: [PATCH] this is not called boost_factor anymore --- lib/search/parser.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search/parser.ex b/lib/search/parser.ex index 96b6cc76..980a2e82 100644 --- a/lib/search/parser.ex +++ b/lib/search/parser.ex @@ -110,7 +110,7 @@ defmodule Search.Parser do defp search_boost(parser, tokens) do case search_not(parser, tokens) do {:ok, {child, [{:boost, value} | r_tokens]}} -> - {:ok, {%{function_score: %{query: child, boost_factor: value}}, r_tokens}} + {:ok, {%{function_score: %{query: child, boost: value}}, r_tokens}} value -> value