mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-21 12:53:11 +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
|
defp search_boost(parser, tokens) do
|
||||||
case search_not(parser, tokens) do
|
case search_not(parser, tokens) do
|
||||||
{:ok, {child, [{:boost, value} | r_tokens]}} ->
|
{: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 ->
|
||||||
value
|
value
|
||||||
|
|
Loading…
Reference in a new issue