this is not called boost_factor anymore

This commit is contained in:
byte[] 2020-01-01 01:18:40 -05:00
parent e3e143e2c6
commit 44f2ebdbb6

View file

@ -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