Create a spatial index using the Hadoop API

post

/spatialviewer/api/v1/createIndex

The index metadata directory is the directory index_metadata contained in the SpatialViewer HDFS working directory (see SpatialViewer configuration).

Request

Supported Media Types
  • application/json
Query Parameters
asynchronous
Type: boolean
if true the index is created asynchronously.
Body Parameter
Index details
Root Schema : HadoopIndexInfo
Type: object

Response

Supported Media Types
  • application/json
201 Response
successful index creation
Body
Root Schema : CreateHadoopIndexJobResponse
Type: object
202 Response
accepted asynchronous index creation
Body
Root Schema : AsyncCreateHadoopIndexJobResponse
Type: object