cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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

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

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