Web Developer
I have a table "products" with a few columns I'm trying to search by, but I get this error:
{ "message": "Searching by attribute \"name\" requires a fulltext index.", "code": 400, "type": "general_query_invalid", "version": "1.8.1"}```My table does have fulltext indexes configured, so I'm not sure why I'm still getting this error - do they take some time to get setup? And how can I see the status? Are they available in the Free plan?My code:```tsconst res = await tables.listRows<Products>({ databaseId: process.env.NEXT_PUBLIC_DATABASE_ID!, tableId: process.env.NEXT_PUBLIC_PRODUCTS_TABLE_ID!, queries: [ Query.equal("userId", user.$id), ...(search ? [ Query.or([ Query.search("name", search), Query.search("brand", search), Query.search("category", search), ]), ] : []), Query.select(["*", "units.*"]), ...orderQueries, Query.orderAsc("$updatedAt"), Query.orderAsc("$createdAt"), Query.offset((page - 1) * perPage), Query.limit(perPage), ],});```