Skip to content

Commit

Permalink
Update bleve.go
Browse files Browse the repository at this point in the history
  • Loading branch information
webysther authored Sep 14, 2024
1 parent db3f61b commit f934ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/index/bleve.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func SearchGists(queryStr string, queryMetadata SearchGistMetadata, gistsIds []u
var indexerQuery query.Query
if queryStr != "" {
contentQuery := bleve.NewFuzzyQuery(queryStr)
contentQuery.SetFuzziness(2)
contentQuery.SetFuzziness(2)
contentQuery.FieldVal = "Content"
indexerQuery = contentQuery
} else {
Expand Down

0 comments on commit f934ff8

Please sign in to comment.