You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered a regression in Neo4j 3.4. In Neo4j 3.3.x, if I had to reindex the explicit automatic index node_auto_index I would have run the following Cypher query:
MATCH (p) SET p.`name` = p.`name` RETURN count(p)
In Neo4j 3.4, this query doesn't reindex anymore existing nodes in node_auto_index. But, if I actually apply an update to the node:
MATCH (p) SET p.`name` = 'lol' RETURN count(p)
I can search the node by its name in node_auto_index.
Neo4j Version: 3.4.0 Operating System: OS X 10.13
Steps to reproduce
Have a Neo4j dataset with same nodes with property key "name". One node with name: "test"
Configure the node_auto_index by adding to the Neo4j config file and restart Neo4j:
dbms.auto_index.nodes.enabled=true
dbms.auto_index.nodes.keys=name
Run START i=node:node_auto_index('name:test') return i limit 1
Nothing should be returned
Run MATCH (p) WITH p, p.name as name SET p.name = name RETURN count(p)
Run START i=node:node_auto_index('name:test') return i limit 1
The node should be returned
In 3.3.x it works as described. In 3.4.0 the node at step 5 is not returned.
The text was updated successfully, but these errors were encountered:
I have encountered a regression in Neo4j 3.4. In Neo4j 3.3.x, if I had to reindex the explicit automatic index
node_auto_index
I would have run the following Cypher query:MATCH (p) SET p.`name` = p.`name` RETURN count(p)
In Neo4j 3.4, this query doesn't reindex anymore existing nodes in
node_auto_index
. But, if I actually apply an update to the node:MATCH (p) SET p.`name` = 'lol' RETURN count(p)
I can search the node by its
name
innode_auto_index
.Neo4j Version: 3.4.0
Operating System: OS X 10.13
Steps to reproduce
node_auto_index
by adding to the Neo4j config file and restart Neo4j:START i=node:node_auto_index('name:test') return i limit 1
Nothing should be returned
MATCH (p) WITH p, p.
nameas name SET p.
name= name RETURN count(p)
START i=node:node_auto_index('name:test') return i limit 1
The node should be returned
In 3.3.x it works as described. In 3.4.0 the node at step 5 is not returned.
The text was updated successfully, but these errors were encountered: