Defining Neo4j Indexes

The following properties are applicable to a Neo4j Index object.

Tab

Section

Property

Description

Additional Information

    Physical Name Specifies the physical name of the index  
    Type Specifies the key type  
    Physical Only Specifies whether the index is generated only in the physical view of the model  
    Generate Specifies whether a DDL statement is generated for the index during forward engineering  

General

Index Members   Specifies a list of available fields  
Selected Index Members Field Specifies the selected field  
Sort Order Specifies the field's sort order for indexing  
Index Type Specifies the type of search that the index supports TEXT: Indicates that the search query is based on a string

2DSPHERE: Indicates that the index supports search queries that calculate spatial geometries on a sphere

2D: Indicates that the index supports search queries stored as a point on two-dimension plane

HASHED: Indicates that the index supports search strings with the hash value

Options Partial Filter Expression   Specifies partialFilterExpression options for partial indexes

 

Wildcard Index Expression   Specifies wildcard index expression options for wildcard indexes

 

More Index Options   Specifies other index options other than partial filter expressions and wildcard index expressions

 

Index Options Locale Specifies the locale of the index  
Case Level Specifies whether the case comparison is included

 

Case First Specifies the sort order for tertiary level comparison

UPPER: Indicates that upper case is sorted before lower case

LOWER: Indicates that lower case is sorted before upper case

OFF: Indicates that the sorting is similar to Lower with a minute difference

Strength Specifies the strength of the comparison level for the index

1: Indicates that the index performs primary-level comparison and only the base characters are considered for comparison

2: Indicates that the index performs secondary-level comparison and considers both base characters and diacritics for comparison

3: Indicates that the index performs tertiary-level comparison and considers base characters, diacritics, cases, and variants for comparison

4: Indicates that the index performs quaternary-level comparison and considers punctuations for comparison

5: Indicates that the index performs identical-level comparison and uses it as a tie-breaker when all other levels are equal

Numeric Order

Specifies whether the numeric strings are compared as numbers or strings

 
Alternative Specifies whether the index must consider whitespace and punctuation as base characters for comparison

Non_Ignorable: Indicates that whitespace and punctuation are considered as base characters for comparison

Shifted: Indicates that the whitespace and punctuation are not considered as base characters for comparison

MaxVariable

Specifies up to which characters are not considered as base characters when Alternative is set to Shifted

PUNCT: Indicates that both whitespace and punctuation are not considered as base characters

SPACE: Indicates that whitespace is not considered as base characters

backwards Specifies whether strings with diacritic are compared from back to front

 

More Options Create TTL Specifies the TTL value in seconds for TTL index