- Notifications
You must be signed in to change notification settings - Fork1
dariasmyr/fts-engine
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A custom-built full-text search engine in Go, with inverted indexed based on prefix trees (tries) and n-grams, with concurrent processing document. The engine handles tokenization, stemming, stop-word removal, and now even supports fuzzy search (partial words and typos).
Configuration files are located in./config/. Useconfig_prod_example.yaml as a template.
make tidy# Or manually:go mod tidyThe Wikipedia abstract dump can be downloaded from Dump example:https://dumps.wikimedia.your.org/enwiki/latest/enwiki-latest-abstract1.xml.gz. Extract the file and place it in the./data/ directory.
## Build and RunBuild the service:```bashmake build# Or manually:go build -o build/fts ./cmd/fts
Run the service (!Check the configuration file!):
make execute# Or manually:./build/fts --config=./config/config_local.yaml#Test the trie implementationmake test-trie# Or manually:gotest -v ./internal/services/fts_trie -count=1#Test the key-value implementationmake test-kv# Or manually:gotest -v ./internal/services/fts_kv -count=1
About
A full-text search engine in Go with fuzzy (partial words/typos) search based on prefix trees and instant indexing
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
