Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Neo4j 2.0,并且想知道我是否/如何使用 Cyhper 进行以下操作。
首先是lucene分数。在文档中,有一些提到 1.x 方法可以使用 java 来实现这一点,但我将 Cypher 与 Neo4j 2.0 和 REST API 一起使用。
另一件事是我想在索引中添加额外的单词,主要用于复数和一些类似的东西,这样我就可以将 car 和 cars 都放在名为“car”的节点的索引中。
Lucene 特定的配置尚未在 Cypher 中公开,因为索引查询语法应该对 Cypher API 隐藏。在以后的版本中,可能有一种更全面的方法可以将参数传递给标签的底层索引提供程序。目前,请使用 Java Index API (1.9.X),并构建一个服务器插件来公开您的特殊 lucene 配置 enpoint。