Open mpurusottamc opened 1 week ago
You want to set token_separators: ["/"]
in the collection schema when creating the schema.
Here's a detailed guide on how that parameter works: https://typesense.org/docs/guide/tips-for-searching-common-types-of-data.html
That was super fast. Thanks for sharing the guide. I will try it out and share the results here.
Description
We use Typesense to load our AWS Resources information. As part of the resources, we have ec2 instances loaded as well. We load resource name, identifier, arn, etc.
When we search for name or the entire arn, typesense returns the entire object. But, when we search with instance id, response is null.
Example record:
When we search with
server-name-123
orarn:aws:ec2:ap-south-1:012345678901:instance/i-0123456789abcdefg
, we get the following result:But, when we search with
i-0123456789abcdefg
, we get empty result.Metadata
Typesense Version: 0.24.1
OS: Ubuntu 20.04
Any help is much appreciated.