alexanoid
alexanoid

Reputation: 25862

Neo4j schema indexes for fuzzy search

Right now I'm thinking on possibility to create fuzzy search in my application over my Neo4j database.

The main criteria are: fuzzy search and performance.

What is the best way to achive these goals with a last version of Neo4j community edition ?

Upvotes: 1

Views: 709

Answers (1)

Michael Hunger
Michael Hunger

Reputation: 41706

Fuzzy search is a tricky thing. Even in plain lucene (where you can do fuzzy search with lucene query strings) it is not recommended because it is quite expensive.

You can use that query syntax in Neo4j too when you indexed your data with a manual index.

The solution that most suggest is to rather go with auto-suggestion, i.e. match on the first few characters, present the options in the auto-complete box and then search by using the user selected strings.

Upvotes: 2

Related Questions