0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +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 = " <-> "
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:
BITAND = "&"
BITOR = "|"