Gorka Cesium
Gorka Cesium13mo ago

fuzzy search is acting worse than previous search (convex v1.7.1)

In the screen recording it shows a list of the customer names. When I search a name the results just show one of the customers correctly. The rest are ignored. I wonder if it is an issue with the indexing.
4 Replies
Gorka Cesium
Gorka CesiumOP13mo ago
const documents = await db
.query("customers")
.withSearchIndex("search_name", (q) => q.search("name", searchName))
.collect();
const documents = await db
.query("customers")
.withSearchIndex("search_name", (q) => q.search("name", searchName))
.collect();
const customers = defineTable(customer)
.searchIndex("search_name", {
searchField: "name",
})
.index("by_distributor", ["distributor"]);
const customers = defineTable(customer)
.searchIndex("search_name", {
searchField: "name",
})
.index("by_distributor", ["distributor"]);
Actually i only see the issue in dev
Sam J
Sam J13mo ago
Thanks for the report, I'll take a look. Have you deployed to prod since upgrading to 1.7? Or only to dev?
Gorka Cesium
Gorka CesiumOP13mo ago
I deployed to prod and works as expected 👍
ian
ian12mo ago
Catching up - is there still an issue here?

Did you find this page helpful?