我想知道如何使用自動索引進行範圍查找。如果我查詢類似Neo4j CYPHER用於範圍查找的node_auto_index
START age=node:node_auto_index(age<20 and age>10) RETURN age;
返回
Exception in thread "main" string literal or parameter expected.
我也嘗試過類似
START age=node:node_auto_index(age = range(10,20))
RETURN age;
但它看起來像它需要只是age = "15"
或類似的東西。
任何想法請做什麼?
謝謝,語法現在可以,但是它不會返回任何結果,即使我只有1個節點創建了適當的年齡。 – JustUser 2013-05-02 07:52:06
剔除github問題。這可能正是你正在經歷的。 – tstorms 2013-05-02 08:00:34
你有這個工作嗎?我很高興看到你的解決方案。如果這對你有幫助,也請隨時批准這個答案。 – tstorms 2013-05-03 08:16:27