Querying Based on Typo-Tolerance and TTL Feature in Typesense

TLDR Ashish asked about querying typo-tolerance percentages and document TTL in Typesense. Kishore Nallan explained that percentage-based matching and TTL features aren't available.

Photo of Ashish
Ashish
Mon, 12 Jun 2023 08:30:29 UTC

In typesense is it possible to query based on typo-tolerance percentage score for e.g if string matches >70% then only get the result.

Photo of Kishore Nallan
Kishore Nallan
Mon, 12 Jun 2023 08:44:23 UTC

We don't have a way to do percentage based match. This is because the text match score measures several similarity measures like total tokens overlapping with query, weight of field etc.

Photo of Ashish
Ashish
Mon, 12 Jun 2023 09:19:35 UTC

and is it possible to put ttl on documents. Or any work around how to handle the same without script?

Photo of Kishore Nallan
Kishore Nallan
Mon, 12 Jun 2023 09:23:40 UTC

No don't have a TTL feature