fix: added the threshold for the multisearch
This commit is contained in:
parent
30365797c0
commit
0397b5ae54
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ module MultiSearchableHelpers
|
|||
PgSearch.multisearch_options = {
|
||||
using: {
|
||||
trigram: {
|
||||
word_similarity: true
|
||||
word_similarity: true,
|
||||
threshold: 0.6
|
||||
},
|
||||
tsearch: { any_word: true }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue