A Quick Intro To Typesense

A Quick Intro To Typesense

An Algolia Alternative

ยท

4 min read

Hey there ๐Ÿ‘‹, let me introduce to you Typesense: a search as a service engine that you can use in your projects that involve querying, retrieving and indexing data.

๐Ÿ”น What is Typesense?

It is an open-source, typo tolerant search engine that delivers fast and relevant results out-of-the-box. & has been built from scratch to offer a delightful & modern search experience.

From instant search to autosuggest, to faceted search, it has got you covered.

image.png As I aforementioned, Typesense is a tool in the Search as a Service category of a tech stack.

Think of Typesense as an Algolia alternative with rich features, customisation and development suited for your needs.

๐Ÿ”น Deployment Options

One of the reasons I fell in love with Typesense is self-hosting ability. To me, this is top-notch and the CDN-like Geo-Distributed clusters that are supported in self-hosted and Saas options.

They also have a managed service called Typesense Cloud.

๐Ÿ”น API Clients & Integrations

You can implement and integrate Typesense with these client libraries;

๐Ÿ“Œ JavaScript
๐Ÿ“Œ Python
๐Ÿ“Œ Ruby

Typesense has a RESTful API so it can be used with any HTTP library in any programming language, even the ones not listed above. The client libraries are just thin wrappers around Typesense's HTTP API.

Read More

๐Ÿ”น OS Support

๐Ÿ“Œ Linux
๐Ÿ“Œ Mac OS X
๐Ÿ“Œ Windows: The implementation & installation involves using WSL.

For Full installation, Visit the Installation page

๐Ÿ”น Usecases

If your website visitors or app users are unable to find or effectively utilize your search bar, you will not be delivering the full benefit of your search engine.

Typesense is here to fix that with rich integrations, support and UI building and you can literally implore this if you are building an online store, book site, e-commerce, music platform, dataset querying etc.

The snip below is from the song search API library that is able to filter values, facets and indexes while doing a real-time search.

image.png

๐Ÿ”น Why Typesense?

โœ” Open-source & Free
โœ” Handles typographical errors elegantly
โœ” Simple to set-up, manage & deploy
โœ” Easy to tailor your search results to perfection
โœ” Meticulously designed and optimized for speed
โœ” Out-of-the-box dev experience
โœ” Search as you type
โœ” Query field weights & boosting
โœ” REST API

๐Ÿ”น The Community

The community is still growing and we might see its impact and adoption soon since most developers prefer a technology that they can control, contribute and develop along with.

I believe the community will grow exponentially due to its rich documentation, demos and training available for beginners.

Join the Slack community to connect with the amazing Typesense developers.

๐Ÿ”น DocSearch Scraper

Yeah, I love web-scraping and anything that has this attracts me and I am still figuring out how I will implement this.

It is a fork of Algolia's awesome DocSearch Scraper, customized to index data in Typesense. It is a python implementation.

You'd typically set up this scraper to run on your documentation site and then use Javascript to add a search bar to your site.

Read detailed step-by-step instructions on how to configure and setup the scraper on Typesense's dedicated documentation site:

๐Ÿ”น Other Notes

Aviyel is a community-driven monetization platform for Open Source Projects and this is where I picked up this project listing. View project on Aviyel

๐Ÿ“Œ Official Docs
๐Ÿ“Œ GitHub Repos
๐Ÿ“Œ Official Website
๐Ÿ“Œ Aviyel Project

๐Ÿ”น What Next

I am planning to read more about this great search tool and see if I can implement it in the NFT Collection website that I am building.

Join me as we discover the hidden treasures of Typesense and we start making sense with our searches using modern search APIs as we build meaningful search-embedded projects.

๐Ÿ”น Conclusion

Hope this was a good intro to Typesense and I will be sharing articles related to using it, especially python implementation.

If you enjoyed reading this article, give me a thumbs up ๐Ÿ‘โ™ฅ. Otherwise, that's it for now.

Please consider subscribing or following me for related content, especially about Tech, Python & General Programming.

You can show extra love by buying me a coffee to support this free content.

Buy Ronnie A Coffee

๐Ÿ“ข You can also follow me on Twitter : โ™ฅ โ™ฅ Waiting for you! ๐Ÿ™‚

ย