postgresql/src/backend/access/index
Alexander Korotkov 2a6368343f Add support for nearest-neighbor (KNN) searches to SP-GiST
Currently, KNN searches were supported only by GiST.  SP-GiST also capable to
support them.  This commit implements that support.  SP-GiST scan stack is
replaced with queue, which serves as stack if no ordering is specified.  KNN
support is provided for three SP-GIST opclasses: quad_point_ops, kd_point_ops
and poly_ops (catversion is bumped).  Some common parts between GiST and SP-GiST
KNNs are extracted into separate functions.

Discussion: https://postgr.es/m/570825e8-47d0-4732-2bf6-88d67d2d51c8%40postgrespro.ru
Author: Nikita Glukhov, Alexander Korotkov based on GSoC work by Vlad Sterzhanov
Review: Andrey Borodin, Alexander Korotkov
2018-09-19 01:54:10 +03:00
..
Makefile Improve index AMs' opclass validation procedures. 2016-01-21 19:47:15 -05:00
amapi.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
amvalidate.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
genam.c Revise BuildIndexValueDescription to simplify it 2018-07-16 20:20:15 -04:00
indexam.c Add support for nearest-neighbor (KNN) searches to SP-GiST 2018-09-19 01:54:10 +03:00