Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shmokmt/tinysearch
tiny full-text search engine from scratch
https://github.com/shmokmt/tinysearch
full-text-search
Last synced: 20 days ago
JSON representation
tiny full-text search engine from scratch
- Host: GitHub
- URL: https://github.com/shmokmt/tinysearch
- Owner: shmokmt
- License: mit
- Created: 2020-09-16T13:01:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-25T07:42:35.000Z (about 4 years ago)
- Last Synced: 2024-12-08T21:41:29.007Z (27 days ago)
- Topics: full-text-search
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tinysearch
![reviewdog](https://github.com/shmokmt/tinysearch/workflows/reviewdog/badge.svg)
Tiny full-text search engine for learning
- Go
- inverted index
- tf-idf
- MySQL8.x## How to dev
```sh
docker-compose up -d
# set env
export INDEX_DIR_PATH="./testdata/index"
# create index
go run ./cmd/tinysearch/main.go create ./testdata/document
# search by full-text search engine
go run ./cmd/tinysearch/main.go search "qurrel sir"
```## See Also
- [Go で検索エンジンに入門する本](https://booth.pm/ja/items/1576277)