Typesense Search Parameters for String Type
TLDR Sandip asked how to search specific string types in Typesense. Jason clarified how to use search parameters for this purpose.
Aug 09, 2023 (4 months ago)
Could I receive search results that satisfy the following criteria for the string type:
1. Location field value ending with 'xyz'
2. Location field value containing 'xyz'"
prefix=truesearch parameter) or contains (called infix search,
infix=truesearch parameter, and you need to set
infix: truein the collection’s schema for that field to enable infix search).
Aug 10, 2023 (4 months ago)
Indexed 3015 threads (79% resolved)
Partial search filtering
Jason asked about partial match searching in Typesense similar to SQL's LIKE. Jason explained that Typesense has "prefix search" by default but "infix search" can be done by setting the search parameters.
Searching String Properties with Specific Conditions in Typesense
Serezha asked about searching string properties with strict conditions. Jason explained Typesense doesn't support endsWith search, but Kishore Nallan suggested using the `max_extra_suffix` parameter for infix searches for this purpose.
Typesense Infix Search for Partial Word Matching
Eric needed help with Typesense infix search for partial word matching. Kishore Nallan advised to enable it through infix: true in the collection schema.