Skip to content

Commit

Permalink
Minor change to trigger rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
systay committed Aug 26, 2011
1 parent 885639c commit 9f1495b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cypher/src/main/scala/org/neo4j/cypher/ExecutionEngine.scala
Expand Up @@ -116,21 +116,19 @@ class ExecutionEngine(graph: GraphDatabaseService)
item match
{
case NodeByIndex(varName, idxName, key, value) =>
{
new StartPipe(varName, () =>
{
val indexHits: Iterable[Node] = graph.index.forNodes(idxName).get(key, value)
indexHits.asScala
})
}

case NodeByIndexQuery(varName, idxName, query) =>
{
new StartPipe(varName, () =>
{
val indexHits: Iterable[Node] = graph.index.forNodes(idxName).query(query)
indexHits.asScala
})
}

case NodeById(varName, ids@_*) => new StartPipe(varName, ids.map(graph.getNodeById))
case RelationshipById(varName, ids@_*) => new StartPipe(varName, ids.map(graph.getRelationshipById))

Expand Down

0 comments on commit 9f1495b

Please sign in to comment.