- Newest
- Most votes
- Most comments
Based on the information available, it appears you're encountering an error when trying to use text search syntax with Amazon MemoryDB for Redis.
The error message ERR Parse error at 0 Unexpected @ Expected whitespaces suggests that the syntax you're using (@fieldName:searchText) is not supported in your current MemoryDB configuration.
For vector search capabilities in MemoryDB with Valkey 7.3, you need to explicitly enable the vector search feature when creating your cluster. If you're trying to use commands like FT.CREATE or similar search functionality, and your cluster wasn't created with vector search enabled, you'll receive errors indicating that the command is not supported.
To use vector search in MemoryDB with Valkey, you need to:
- Enable the Vector Search capability specifically during cluster creation
- Use the appropriate parameter group - when vector search is enabled, you must use
default.memorydb-valkey7.searchparameter group - Be aware that the number of shards will be fixed when vector search is enabled
If you're receiving the parse error with the @fieldName:searchText syntax, it's likely because this specific query format is not supported in your current MemoryDB configuration or you're trying to use search capabilities that aren't enabled on your cluster.
Check your cluster configuration to ensure vector search is enabled if you need these search capabilities.
Sources
MemoryDB Valkey Vector commands and set up | AWS re:Post
answered 10 months ago
