CALL db.index.fulltext.queryNodes("NameIndex", "刘昊然[超话]")
YIELD node, score
RETURN properties(node) as properties, score LIMIT 50
The query string contains '[...]' which caused the syntax error:
Failed to invoke procedure `db.index.fulltext.queryNodes`: Caused by: org.apache.lucene.queryparser.classic.ParseException: Encountered " "]" "] "" at line 1, column 6.
Was expecting:
"TO" ...
Is there a way to fix or bypass this error? For fulltext search, the user query can contains any symbols, just as you do on google.