KNN searches support for SP-GiST [GSOC'14] - Mailing list pgsql-hackers

From Vladislav Sterzhanov
Subject KNN searches support for SP-GiST [GSOC'14]
Date
Msg-id CAK2aJC0-Jhrb3UjOZL+arBCHoTVwbeJVpRN-JOfEnN0vA6+MZQ@mail.gmail.com
Whole thread Raw
Responses Re: KNN searches support for SP-GiST [GSOC'14]
List pgsql-hackers
Hi there, pg-Hackers! 
Here I go with the patch which brings up the possibility to perform nearest-neighbour searches on SP-GiSTs (as of now includes implementation for quad and kd trees). Pre-reviewed by my GSoC mentor Alexander Korotkov.
Sample benchmarking script included in the attachment (dumps the current geonames archive and runs several searches on the (latitude, longitude) points), which demonstrates the dramatic improvements against plain searches and sorting. Regression tests included, compiles and runs successfully under both of my Ubuntu 12.04 Server and 08/2014 Arch Linux.

Vlad Sterzhanov / Quadrocube
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: PQgetssl() and alternative SSL implementations
Next
From: Michael Paquier
Date:
Subject: Re: GSoC on WAL-logging hash indexes