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)

Input parameters

Name Type Default Description

indexId

STRING

null

The id of the index type

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')
Result

No results

Get the config options of the hilbert index

CALL spatial.indexTypes.config('hilbert')
Result

No results

Get the config options of the rtree index

CALL spatial.indexTypes.config('rtree')
Table 1. Result
name type defaultValue description

maxNodeReferences

INTEGER

100

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

false

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).

Get the config options of the zorder index

CALL spatial.indexTypes.config('zorder')
Result

No results