summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-28 13:26:20 +0200
committeralex <[email protected]>2026-07-28 13:26:20 +0200
commit49a21882354c1a92fcb9c5b555c0331ab83c2e69 (patch)
tree8286939c85580b04a4f2605c26a8dc142ed0d75e /main.go
parente973c9724829d962ff9e233ef16f489296f9fe3d (diff)
downloadsearch-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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 459da39..8580668 100644
--- a/main.go
+++ b/main.go
@@ -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 {