pg-trgm Questions

3

I want to realize a fulltext search in postgresql combined with a kind of fuzzy search. For my testarea I followed up this article: https://blog.lateral.io/2015/05/full-text-search-in-milliseconds-...
Prevailing asked 8/9, 2017 at 17:59

1

I'm trying to set the pg_trgm.word_similarity_threshold GUC parameter on an RDS postgres (13) instance. I have tried setting it with a post-deployment SQL script: SET pg_trgm.word_similarity_thresh...
Pamplona asked 16/9, 2021 at 10:55

2

Solved

Are there any additional steps I can take to speed up query execution? I have a table with more than 100m rows and I need to do search for matching strings. For that I checked two options: Compare...
Going asked 5/1, 2023 at 9:43

2

Solved

My table has 650M rows (according to a fast but decently precise estimate from a query I found here). It has a text column called receiver_account_id, and I need to be able to search those records ...
Flowery asked 11/11, 2022 at 23:31

2

I have a list of 100.000 sentences in a table, with pg_trgm I can get the closest ones of my string "super cool" very fast with a GIN/GIST index. See the official example : https://www.postgresql...
Labors asked 4/7, 2019 at 7:47

1

Solved

I need to make search-as-you-type autocomplete for a large list of companies (over 80,000,000). The company name should contain the word that starts with a search query like this +-------+--------...
Wingate asked 4/7, 2019 at 23:8

1

Postgres allows for trigram indices with the pg_trgm module. Here's the example code they provide in the "Index Support" section: CREATE TABLE test_trgm (t text); CREATE INDEX trgm_idx ON test_tr...
Graptolite asked 3/4, 2018 at 22:12

1

Solved

Can somebody explain to me exactly how the similarity function is calculated in Postgres pg_trgm module. e.g. similarity('sage', 'message') = 0.3 1) " s"," sa",age,"ge ",sag 2) " m"," me",age,ess...
Dander asked 19/2, 2018 at 19:3

1

Solved

I have defined the following index: CREATE INDEX users_search_idx ON auth_user USING gin( username gin_trgm_ops, first_name gin_trgm_ops, last_name gin_trgm_ops ); I am performing the fol...
Zamudio asked 9/5, 2017 at 10:33

1

I have 300 million addresses in my PostgreSQL 9.3 DB and I want to use pg_trgm to fuzzy search the rows. The final purpose is to implement a search function just like Google Map search. When I use...
1

© 2022 - 2024 — McMap. All rights reserved.