Created
April 26, 2018 19:15
-
-
Save midhunkrishna/65bd40c08ebde9f6f31c6ecb6c3f6407 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUERY PLAN | |
-------------------------------------------------------------------------------- | |
-------------------------------------------------------------------------------- | |
------------------------------------------------------- | |
Limit (cost=8558.43..8558.48 rows=20 width=20) | |
-> Sort (cost=8558.43..8563.87 rows=2175 width=20) | |
Sort Key: (CASE WHEN ((importance = '0'::double precision) OR (importan | |
ce IS NULL)) THEN ('0.75001'::double precision - ((search_rank)::double precisio | |
n / '40'::double precision)) ELSE importance END) DESC | |
-> Bitmap Heap Scan on search_name (cost=44.86..8500.55 rows=2175 wid | |
th=20) | |
Recheck Cond: (name_vector @> '{5639492}'::integer[]) | |
-> Bitmap Index Scan on idx_search_name_name_vector (cost=0.00. | |
.44.32 rows=2175 width=0) | |
Index Cond: (name_vector @> '{5639492}'::integer[]) | |
(7 rows) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment