spatial.indexTypes.config
Procedure
Returns the config options of the given index type (see spatial.indexTypes.list)
Signature
spatial.indexTypes.config(indexId :: STRING) :: (name :: STRING, description :: STRING, type :: STRING, defaultValue :: ANY)
Output parameters
| Name | Type | Description |
|---|---|---|
name |
STRING |
The name of the config option |
description |
STRING |
What the config option controls |
type |
STRING |
The Cypher type of the config option |
defaultValue |
ANY |
The value used if the config option is not set |
Examples
Get the config options of the geohash index
CALL spatial.indexTypes.config('geohash')
No results
Get the config options of the hilbert index
CALL spatial.indexTypes.config('hilbert')
No results
Get the config options of the rtree index
CALL spatial.indexTypes.config('rtree')
| name | type | defaultValue | description |
|---|---|---|---|
maxNodeReferences |
INTEGER |
|
The maximum number of references (children or geometry nodes) allowed per index node. |
referenceRelationshipType |
STRING |
RTREE_REFERENCE |
The relationship type used to connect index leaves to the actual geometry nodes. |
shouldMergeTrees |
BOOLEAN |
|
Whether to attempt merging subtrees during bulk insertion to reduce overlap. |
splitMode |
STRING |
greene |
The split algorithm: 'quadratic' (slower insertion, faster search) or 'greene' (faster insertion, simpler spatial distribution). |