cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to use apoc.text.levenshteinDistance?

ycot
Node Link

Hello

Seeing the APOC documentation i'm trying to use apoc.text.levenshteinDistance procedure.
CALL apoc.text.levenshteinDistance('test', 'NOE_ALT1aVX')

Unfortunately, I've this error message :
Neo.ClientError.Procedure.ProcedureNotFound: There is no procedure with the name apoc.text.levenshteinDistance registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

There is some things to add in neo4j.conf ?

By advance, thanks you all

Have a nice day

1 ACCEPTED SOLUTION

Hello,

apoc.text.levenshteinDistance() is a function, not a procedure, so you don't need to use the CALL ... YIELD syntax. Just use it inline:

RETURN apoc.text.levenshteinDistance('test', 'NOE_ALT1aVX')

View solution in original post

2 REPLIES 2

ycot
Node Link

Up!

I need help...

Hello,

apoc.text.levenshteinDistance() is a function, not a procedure, so you don't need to use the CALL ... YIELD syntax. Just use it inline:

RETURN apoc.text.levenshteinDistance('test', 'NOE_ALT1aVX')
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online