mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-05 14:32:56 +00:00
Workaround for BKtree.
This commit is contained in:
parent
ce52f145d9
commit
9c930d17b1
@ -132,7 +132,8 @@ pub fn image_query_sync(
|
||||
FROM tweet_media
|
||||
WHERE
|
||||
tweet_media.tweet_id = hashes.twitter_id AND
|
||||
tweet_media.hash = hashes.hash
|
||||
tweet_media.hash <@ (hashes.hash, 0)
|
||||
LIMIT 1
|
||||
) tm ON hashes.twitter_id IS NOT NULL
|
||||
WHERE {}", hash_where_clause);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user