mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-10 17:02:38 +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
|
FROM tweet_media
|
||||||
WHERE
|
WHERE
|
||||||
tweet_media.tweet_id = hashes.twitter_id AND
|
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
|
) tm ON hashes.twitter_id IS NOT NULL
|
||||||
WHERE {}", hash_where_clause);
|
WHERE {}", hash_where_clause);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user