cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

If b-tree index is depreciated, so how do we index an integer property value?

gabriel
Node

Everything is in the title

If b-tree index is depreciated, so how do we index an integer property value?

We can index strings with the new TEXT index, labels or type with LOOKUP indexes
but how do we index integer values then?

1 REPLY 1

busymo16
Ninja
Ninja

Hi @gabriel,

Which version are you using? At least until v4.4.4 the Btree index exists and you can create it with the following syntax:

CREATE INDEX LabelID FOR (n:Label) ON (n.id);