cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

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