mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
this is not called boost_factor anymore
This commit is contained in:
parent
e3e143e2c6
commit
44f2ebdbb6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue