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

Fix typo in error message for non-sortable field (#1547)

Vegard Stikbakke420c55ee6d6f
diff --git a/include/field.h b/include/field.h
index a2b6a56f..b74901b8 100644
--- a/include/field.h
+++ b/include/field.h
@@ -423,7 +423,7 @@ struct field {
}
if(!field.is_sort_field() && field.sort) {
- return Option<bool>(400, "Field `" + field.name + "` cannot be a sortabale field.");
+ return Option<bool>(400, "Field `" + field.name + "` cannot be a sortable field.");
}
}