Skip to content
Snippets Groups Projects
Commit 35fcb1b3 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

Allow GiST distance function to return merely a lower-bound.

The distance function can now set *recheck = false, like index quals. The
executor will then re-check the ORDER BY expressions, and use a queue to
reorder the results on the fly.

This makes it possible to do kNN-searches on polygons and circles, which
don't store the exact value in the index, but just a bounding box.

Alexander Korotkov and me
parent ecd222e7
No related branches found
No related tags found
No related merge requests found
Showing
with 699 additions and 40 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment