Re: [PERFORM] Autocompletion with full text search

2015-01-30 Thread Jim Nasby
On 1/15/15 6:41 PM, Ivan Schneider wrote: We implemented an autocompletion feature (case and accent insensitive) using PostgreSQL full text search. The query fetches patient ids matching the full text query that belong to a given patient base (rows contain a pg_array with patient_base_ids). Our

[PERFORM] Autocompletion with full text search

2015-01-15 Thread Ivan Schneider
Hi, We implemented an autocompletion feature (case and accent insensitive) using PostgreSQL full text search. The query fetches patient ids matching the full text query that belong to a given patient base (rows contain a pg_array with patient_base_ids). Our table grew over time (6.2 million rows n