diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2017-12-17 06:54:56 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2017-12-17 13:20:31 -0500 |
commit | b238b4baff5898dc996f1011c764c6b6c520885c (patch) | |
tree | 07a9f2ee01ea17399587eb5dd24f4c153fc708c6 | |
parent | 1654bb13fc99369d879390d3ce8dea9516860e64 (diff) |
CSC2621/assignments/search: Fixed multi-word search bug
-rw-r--r-- | search/search.go | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |