Skip to content

Conversation

@nunesmatheus
Copy link

Allows using the postgres function strict_word_similarity for trigram matching, that, according to postgres, is

useful for finding the similarity to whole words, while word_similarity is more suitable for finding the similarity for parts of words

It's my first contribution, so I'm sorry if I miss something.

If this is something you would like to add to the project, I wonder if we should validate that word_similarity and strict_word_similarity options cannot both be given, as only one will be applied. Or even if it's worth it to make a breaking change and replace the word_similarity option by a similarity_function option, or something like that.

@nunesmatheus nunesmatheus marked this pull request as ready for review August 15, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant