Skip to content

Commit

Permalink
feat: fuzzy search, first version (#1)
Browse files Browse the repository at this point in the history
* WIP: (may git squash!) feat: 1. init distance by weakening params / results 2. goimports + group (std + third party + current project)

* fix: arrow direction of 'weaken results' (WR)

* fix: 1. arrow direction of 'weaken results' (WR), 'weaken params' (WP); 2. Anonymize when building sigGraph

* feat: 1. Distance->DistanceWithCache => avg latency (200x same distance query) -60%; 2. (WP) distance 2->3 => query func(string)int, Atoi rank 17->4.

* feat: FloydWarshall; offline calc script

* feat: 1. parallel Floyd-Warshall; 2. Floyd-Warshall output dump to / load from file.

* tmp

* v0.0.4

* upgrade hertz to avoid bytedance/sonic#637

* floyd.json -> sigGraph.json

* NewHooglyRanker functional options

* HooglyRanker -> SigGraphRanker

* remove deadcode; polish webpage and testcase

* tailor tailor.py
  • Loading branch information
SnowOnion authored Sep 17, 2024
1 parent 9fa6646 commit 96456b6
Show file tree
Hide file tree
Showing 33 changed files with 1,956 additions and 869 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
######## Godoogle
sigGraph.gv
sigGraph.gv.svg
sigGraph.json

######## GitHub generated for Go (2024-02-22)
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ https://godoogle.sonion.xyz/
### 🏡Deploy Your Own Godoogle

```shell
# per version
cd script/
go run floydWrite.go


# per run
cd server/
go run *.go
go run .
```

Then visit [localhost:8888](http://localhost:8888).
Expand Down
Loading

0 comments on commit 96456b6

Please sign in to comment.