If I had a dollar for every time I've heard Algolia is expensive! And if I had a dollar for every time I've said that statement!
If cost is an issue, definitely checkout Typesense. You can self-host it for free, or use the hosted Cloud version [2]. There are no per-record or per-search charges, which makes it very economical even for high volume use cases. In either case, I've seen savings of up to 96% in some cases compared to Algolia's pricing.
[1] https://typesense.org, https://github.com/typesense/typesense