0
0
mirror of https://github.com/django/django.git synced 2024-11-21 19:09:18 +01:00

Added back missing Trigram classes.

This commit is contained in:
GappleBee 2024-11-19 15:49:16 +00:00
parent 03d45a2047
commit 53cea8e893

View File

@ -388,6 +388,24 @@ class TrigramDistance(TrigramBase):
arg_joiner = " <-> " arg_joiner = " <-> "
class TrigramWordDistance(TrigramWordBase):
function = ""
arg_joiner = " <<-> "
class TrigramStrictWordDistance(TrigramWordBase):
function = ""
arg_joiner = " <<<-> "
class TrigramWordSimilarity(TrigramWordBase):
function = "WORD_SIMILARITY"
class TrigramStrictWordSimilarity(TrigramWordBase):
function = "STRICT_WORD_SIMILARITY"
class LexemeCombinable: class LexemeCombinable:
BITAND = "&" BITAND = "&"
BITOR = "|" BITOR = "|"