cypher - neo4j edit distance search -
i running neo4j 3.0.4 , want search on node property using edit distance of 1. searched documentation , couldn't find anything, closest found regex search. appreciated.
you can use manual lucene index, e.g. via apoc procedure library.
installation of library, see: https://github.com/neo4j-contrib/neo4j-apoc-procedures
documentation: https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_full_text_search
call apoc.index.search("locations", "address.address:paris~") yield node addr match (addr)<-[:has_address]-(company:company) return company limit 50
Comments
Post a Comment