Closed mickeyhaha closed 6 years ago
From @mickeyhaha email
found the issue, we need to contain both 'order by t1.sig <-> t2.sig' and 'limit 100' in the query to enable the index, thank you all the same.
Right, imgsmlr indexes supports KNN only. So, you've to add LIMIT in order to benefit from indexes.
hi Akorotkov,
I followed the guide for https://github.com/postgrespro/imgsmlr and it works well, just one issue: when I explain the query, it shows
Seq Scan
instead ofIndex Scan
, meaning it's not using the GiST index to query the data.Would you help me? Thanks!
Best regards! Jason