Skip to content

Commit

Permalink
Merge pull request #1433 from anyproto/go-2973-tantivy-go
Browse files Browse the repository at this point in the history
GO-2973 Fix empty string
  • Loading branch information
fat-fellow authored Jul 31, 2024
2 parents 1ded717 + af825fe commit 962247c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lib/localstore/objectstore/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ func (s *dsObjectStore) QueryFromFulltext(results []database.FulltextResult, par
}

func (s *dsObjectStore) performQuery(q database.Query) (records []database.Record, err error) {
q.FullText = strings.TrimSpace(q.FullText)
filters, err := database.NewFilters(q, s)
if err != nil {
return nil, fmt.Errorf("new filters: %w", err)
Expand Down

0 comments on commit 962247c

Please sign in to comment.