diff options
| author | alex <[email protected]> | 2026-07-28 13:26:20 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-07-28 13:26:20 +0200 |
| commit | 49a21882354c1a92fcb9c5b555c0331ab83c2e69 (patch) | |
| tree | 8286939c85580b04a4f2605c26a8dc142ed0d75e /main.go | |
| parent | e973c9724829d962ff9e233ef16f489296f9fe3d (diff) | |
| download | search-engine-49a21882354c1a92fcb9c5b555c0331ab83c2e69.tar.xz search-engine-49a21882354c1a92fcb9c5b555c0331ab83c2e69.zip | |
added scoring for results but the algorithm will have to be improved
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ func main() { wg.Wait() fmt.Println("Indexing complete! Running a test search...") - results := search.Search(myIndex, "computer science") + results := search.Search(myIndex, "league of legends") fmt.Printf("Found %d articles matching your query:\n", len(results)) for i, title := range results { |
