Neo4j: Lucene phrase matching using Cypher (fuzzy)

后端 未结 2 1353
清酒与你
清酒与你 2020-12-21 12:18

In Lucene, a Phrase is a group of words surrounded by double quotes such as \"hello dolly\". I would like to be able to do the CYPHER equivalent of this Lucene fuzzy query:<

相关标签:
2条回答
  • 2020-12-21 12:24

    Try this one:

    START n=node:node_auto_index("name:hella\\ dolly~0.1") RETURN n
    
    0 讨论(0)
  • 2020-12-21 12:32

    It's an old question but this may help others:

    START n=node:node_auto_index('name:"hella dolly"~0.1') RETURN n
    
    0 讨论(0)
提交回复
热议问题