Raname spatialindex to index.