parent
b4a653519c
commit
48c05f60ed
|
@ -751,6 +751,7 @@ search_fields query fields =
|
|||
[ ( "type", Json.Encode.string "most_fields" )
|
||||
, ( "query", Json.Encode.string queryWord )
|
||||
, ( "fuzziness", Json.Encode.int <| String.length queryWord // 5 )
|
||||
, ( "analyzer", Json.Encode.string "whitespace" )
|
||||
, ( "operator", Json.Encode.string "or" )
|
||||
, ( "_name"
|
||||
, Json.Encode.string <| "multi_match_" ++ queryWord ++ "_" ++ (queryIndex + 1 |> String.fromInt)
|
||||
|
|
Loading…
Reference in a new issue