code: function storeGeoshape(index, type, id, shape) {
    switch (type) {
      case 'geoBoundingBox':
        index.addBoundingBox(id,
          shape.bottom,
          shape.left,
          shape.top,
          shape.right
        );
        break;
      case 'geoDistance':
        index.addCircle(id, shape.lat, shape.lon, shape.distance);
        break;
      case 'geoDistanceRange':
        index.addAnnulus(id, shape.lat, shape.lon, shape.to, shape.from);
        break;
      case 'geoPolygon':
        index.addPolygon(id, shape);
        break;
      default:
        break;
    }
  }
docs: Stores a geospatial shape in the provided index object.
  
  @param {object} index
  @param {string} type
  @param {string} id
  @param {Object|Array} shape