Hey π
I use this method to create a query array:
let querys: string[] = [];
combinations.forEach(combination => {
querys.push(Query.search('ingredientNames', combination.nameNormalized).toString());
});
Search word is e.g. bohnen_(weiss) . => "search(ingredientNames, [bohnen_(weiss)])" There is also an underscore between bohnen and (weiss) that cannot be displayed here. But entries with "pfefferkoerner_(weiss)" are also found...
That doesn't make any sense to me. π€
Any Idea ?
thanks
Hm, okay. It seems that no special characters or spaces can be used with the ".search" method, otherwise it will separate and search for both?
@VincentGe can you take a look at this?
I believe special characters are not searchable in MariaDB fulltext indexes
This might be related
You may have to be creative with your indexes for searching π
thanks π I dont use special characters anymore and it worked fine.
Recommended threads
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...