I am having a strange issue with the Neo4JClient.
The following query works
.AndWhere("((shipper.Name =~ '(?i).*" + filterTxt + ".*') OR (frm.Name =~ '(?i).*" + filterTxt + ".*') OR (to.Name =~ '(?i).*" + filterTxt + ".*'))");
but the same when I convert to the parameterized query like below:
.AndWhere("((shipper.Name =~ {searchParam}) OR (frm.Name =~ {searchParam}) OR (to.Name =~ {searchParam}))")
.WithParam("searchParam", "(?i).*" + filterTxt + ".*");
it fails to execute from within the Neo4JClient I get an exception saying connection is closed, however when I pickup the DebugQueryText
generated by the Neo4JClient, and execute it on the neo4j console, it returns result.
is there something I am doing wrong with the way I am using this wildcard search?
Regrads Kiran