We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc407e6 commit 676d798Copy full SHA for 676d798
1 file changed
http.go
@@ -139,9 +139,12 @@ func StartHttpServer() {
139
toProcessQueue := make(chan *FileJob, runtime.NumCPU()) // Files to be read into memory for processing
140
summaryQueue := make(chan *FileJob, runtime.NumCPU()) // Files that match and need to be displayed
141
142
+ q, fuzzy := PreParseQuery(strings.Fields(query))
143
+
144
fileReaderWorker := NewFileReaderWorker(files, toProcessQueue)
145
+ fileReaderWorker.FuzzyMatch = fuzzy
146
fileSearcher := NewSearcherWorker(toProcessQueue, summaryQueue)
- fileSearcher.SearchString = strings.Fields(query)
147
+ fileSearcher.SearchString = q
148
149
resultSummarizer := NewResultSummarizer(summaryQueue)
150
resultSummarizer.FileReaderWorker = fileReaderWorker
0 commit comments