Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Bug fix: Wrong order of arguments when recursing.

Kishore Nallan71a9c2709b05
diff --git a/src/art.cpp b/src/art.cpp
index 110bd76a..1132f5ca 100644
--- a/src/art.cpp
+++ b/src/art.cpp
@@ -1038,7 +1038,7 @@ int art_iter_prefix(art_tree *t, const unsigned char *key, int key_len, art_call
}\
} else if(row_min <= max_cost) {\
int new_depth = (child_char != 0) ? depth+1 : depth;\
- art_iter_fuzzy_prefix_recurse(child, term, term_len, max_cost, new_depth, max_words, new_current_row, results);\
+ art_iter_fuzzy_prefix_recurse(child, term, term_len, max_cost, max_words, new_depth, new_current_row, results);\
}\
}\