From b238b4baff5898dc996f1011c764c6b6c520885c Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Sun, 17 Dec 2017 06:54:56 -0500 Subject: CSC2621/assignments/search: Fixed multi-word search bug --- search/search.go | 1 - 1 file changed, 1 deletion(-) (limited to 'search') diff --git a/search/search.go b/search/search.go index 9c9bb38..cb01f0b 100644 --- a/search/search.go +++ b/search/search.go @@ -49,7 +49,6 @@ func main() { for _, v := range sIndex { for tmp = v; tmp != nil; tmp = tmp.Next { - perWord[tmp.This.Doc] = true; searchBool[tmp.This.Doc] = true; scores[tmp.This.Doc] = make(map[string]float64); } -- cgit v1.1