【发布时间】:2015-05-10 15:54:55
【问题描述】:
我正在尝试将参数传递到 Cypher 查询 node_auto_index 中,但没有任何运气。
DecisionRepository.class:
@Query("START d=node:node_auto_index(':text') MATCH (d:Decision) RETURN d")
List<Decision> searchDecisions(String text);
用法:
List<Decision> searchDecisions = decisionRepository.searchDecisions("name:aDbma~ OR name:mosyl~");
有可能吗?如果可以,我错在哪里?
【问题讨论】:
标签: neo4j cypher spring-data