public function getGeoFieldsForAQL($collection)
    {
        $indices = $this->_toolbox->getCollectionManager()->listIndices($collection, true);

        foreach ($indices as $index => $info) {

            //If this is the first geo index we encounter
            if ($info['type'] == "geo1" || $info['type'] == "geo2") {
                return $info['fields'];
            }
        }

        return null;
    }