So you can do a fully external index hook.
Create a uniform index API across all types of indices
Support Filtered (Partial) Indexes
RTree Implementation for Spatial Indexing
I'd love to help with this for many reasons...
Please let me know if I can do anything...