Skip to content

Commit

Permalink
change min/max prefix lengths for search index
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoshinNikita committed Nov 15, 2024
1 parent a4c4c57 commit 43fb75d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions search/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ type builtIndexes struct {

func NewService(rclone Rclone, cache rview.Cache) *Service {
const (
minPrefixLen = 2
maxPrefixLen = 7
minPrefixLen = 3
maxPrefixLen = 10
)

return &Service{
Expand Down

0 comments on commit 43fb75d

Please sign in to comment.