Neo4jClient:参数化时,野生字符搜索不起作用

Neo4jClient:参数化时,野生字符搜索不起作用,neo4j,cypher,neo4jclient,Neo4j,Cypher,Neo4jclient,我对Neo4JClient有一个奇怪的问题 以下查询工作正常 .AndWhere(((shipper.Name=~”(?i)。*“+filterTxt+”)或(frm.Name=~”(?i)。*“+filterTxt+”)或(to.Name=~”(?i)。*“+filterTxt+”) 但当我转换为如下参数化查询时也是如此: .AndWhere(((shipper.Name=~{searchParam})或(frm.Name=~{searchParam})或(to.Name=~{searchPa

我对Neo4JClient有一个奇怪的问题

以下查询工作正常

.AndWhere(((shipper.Name=~”(?i)。*“+filterTxt+”)或(frm.Name=~”(?i)。*“+filterTxt+”)或(to.Name=~”(?i)。*“+filterTxt+”)

但当我转换为如下参数化查询时也是如此:

.AndWhere(((shipper.Name=~{searchParam})或(frm.Name=~{searchParam})或(to.Name=~{searchParam})))
.WithParam(“searchParam”、“(?i)。*”+FilterText+“*”)

它无法在Neo4JClient内执行,我收到一个异常,说连接已关闭,但是当我拾取Neo4JClient生成的
DebugQueryText
并在neo4j控制台上执行时,它返回结果

我使用这个通配符搜索的方式是否有问题

再生
基兰至少在我看来不错。也许@tathamoddie有个主意?嗨,Kiran,我无法用Neo4jClient 1.0.0.661复制这个想法,这里的要点是:使用参数化和非参数化版本。我的和你的唯一真正区别是我使用的是
string.Format
,但我想这没什么用difference@ChrisSkardon:谢谢,我从1.0.0.658升级到1.0.0.661,现在可以使用了。