Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typesense/showcase-hn-comments-semantic-search
Semantic Search + Keyword Search + Hybrid Search + Filtering + Faceting on 300K HN Comments
https://github.com/typesense/showcase-hn-comments-semantic-search
hybrid-search semantic-search vector-search
Last synced: 4 days ago
JSON representation
Semantic Search + Keyword Search + Hybrid Search + Filtering + Faceting on 300K HN Comments
- Host: GitHub
- URL: https://github.com/typesense/showcase-hn-comments-semantic-search
- Owner: typesense
- License: apache-2.0
- Created: 2023-08-04T03:09:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-10T23:03:43.000Z (2 months ago)
- Last Synced: 2024-11-07T12:52:05.941Z (13 days ago)
- Topics: hybrid-search, semantic-search, vector-search
- Language: JavaScript
- Homepage: https://hn-comments-search.typesense.org
- Size: 430 KB
- Stars: 41
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🗞 Semantic + Keyword + Hybrid Search with HN Comments
This is a demo that showcases [Typesense's](https://github.com/typesense/typesense) 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](https://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
- `src/` and `index.html` - contain the frontend UI components, built with Typesense Adapter for InstantSearch.js
- `scripts/` - contains the script to index the data into Typesense.
- `data/` - contains a 1K sample subset of the HN comments dataset. But you can download the full dataset from the [Google BigQuery marketplace](https://console.cloud.google.com/marketplace/product/y-combinator/hacker-news).## Development
To run this project locally, install the dependencies and run the local server:
```sh
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](https://pages.cloudflare.com).
Pushing to master will deploy the app to production.