Skip to content

Commit

Permalink
Change FOLLOWED BY match to AND match
Browse files Browse the repository at this point in the history
Issues #139 #120
  • Loading branch information
JesperKock committed Jan 11, 2023
1 parent 0e7096f commit dc93df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/seed/320_api_adresse.sql
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ BEGIN
UNNEST(string_to_array(btrim(input), ' ')) t
)
SELECT
string_agg(fonetik.fnfonetik (t, 2), ':* <-> ') || ':*'
string_agg(fonetik.fnfonetik (t, 2), ':* && ') || ':*'
FROM
tokens
INTO query_string;
Expand All @@ -236,7 +236,7 @@ BEGIN
UNNEST(string_to_array(btrim(input), ' ')) t
)
SELECT
string_agg(t, ':* <-> ') || ':*'
string_agg(t, ':* && ') || ':*'
FROM
tokens
INTO plain_query_string;
Expand Down

0 comments on commit dc93df9

Please sign in to comment.