Search a list of names in Neo4J -


i have neo4j database contains large number of user objects each user having fields name, contact, email etc.

suppose there list contains values "aa","bb","cc"...

i want retrieve users name contains letters of strings in above mentioned list

what cypher ?

i able write cypher "=~ (?i)."+searchtext+"." worked single string seach. problem when there list of strings search.

i can iterate on each string in list not idea if search list contains large number of search strings.

in 3.0 contains (see http://neo4j.com/docs/stable/query-where.html#query-where-string) utilize indexes. reference here's pull request this: https://github.com/neo4j/neo4j/pull/6233

for doing in 2.3.x (or earlier) suggest use manual indexes regexquery written in java , deployed unmanaged extension. details on take @ blog post @ http://blog.armbruster-it.de/2014/10/deep-dive-on-fulltext-indexing-with-neo4j/


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -