5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 07:24:17 +00:00

también buscar por palabras similares

This commit is contained in:
f 2021-05-07 16:21:44 -03:00
parent ad871baca6
commit 4f2e602822

View file

@ -21,6 +21,9 @@ class IndexedPost < ApplicationRecord
tsearch: {
dictionary: IndexedPost.to_dictionary(locale: locale),
tsvector_column: 'indexed_content'
},
trigram: {
word_similarity: true
}
}
}