Skip to content

typesense/showcase-hn-comments-semantic-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c77cde4 ยท Dec 16, 2024

History

23 Commits
Aug 2, 2023
Aug 4, 2023
Dec 16, 2024
Aug 4, 2023
Aug 4, 2023
Aug 4, 2023
Aug 4, 2023
Dec 16, 2024
Dec 16, 2024
Aug 4, 2023
Aug 4, 2023
Aug 4, 2023
Aug 15, 2023
Dec 16, 2024
Dec 16, 2024

Repository files navigation

๐Ÿ—ž Semantic + Keyword + Hybrid Search with HN Comments

This is a demo that showcases Typesense's built-in embedding generation (available as of 0.25.0.rc60) + vector search features using a collection of 300K HN Comments.

View it live here: hn-comments-search.typesense.org

Tech Stack

This search experience is powered by Typesense which is a blazing-fast, open source typo-tolerant search-engine. It is an open source alternative to Algolia and an easier-to-use alternative to ElasticSearch.

This demo uses a geo-distributed 3-node Typesense cluster running on Typesense Cloud, with nodes in Oregon, Frankfurt and Mumbai.

Repo structure

Development

To run this project locally, install the dependencies and run the local server:

yarn
yarn run typesenseServer
ln -s .env.sample .env
yarn run indexer
yarn start

Open http://localhost:3001 to see the app.

Deployment

The app is hosted on Cloudflare Pages.

Pushing to master will deploy the app to production.