Gremlin server version: 3.3.10
Neo4J kernel version: 3.2.3
Hi there,
I am trying to enable neo4j indexes for node properties by setting the following configuration.
gremlin.neo4j.conf.dbms.auto_index.nodes.enabled=true
gremlin.neo4j.conf.dbms.auto_index.nodes.keys=PropName
I do see that index files are created (see below). But query "g.V().has('PropName', 'value').profile()" is not any faster than without indexing enabled. What is missing? How can I validate that index is actually being used? Please advise.
Many thanks in advance.
/opt/gremlin-server/data/index/lucene/node/node_auto_index
bash-4.4$ ls
_an.fdt _o3.fdt _sv.fdt _t5.cfe _tp.cfe _uj.cfe _um.cfe _up.cfe _us.cfe
_an.fdx _o3.fdx _sv.fdx _t5.cfs _tp.cfs _uj.cfs _um.cfs _up.cfs _us.cfs
_an_Lucene50_0.doc _o3_Lucene50_0.doc _sv_Lucene50_0.doc _te.cfs _tz.cfs _uk.cfs _un.cfs _uq.cfs _ut.cfs
_an_Lucene50_0.tip _o3_Lucene50_0.tip _sv_Lucene50_0.tip _tf.cfe _u9.cfe _ul.cfe _uo.cfe _ur.cfe segments_3
_an_Lucene54_0.dvd _o3_Lucene54_0.dvd _sv_Lucene54_0.dvd _tf.cfs _u9.cfs _ul.cfs _uo.cfs _ur.cfs write.lock