Skip to content

Commit

Permalink
add search configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kmrmt committed Jan 29, 2025
1 parent 525e22f commit 063b857
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/tools/cli/loadtest/service/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ func searchRequestProvider(dataset assets.Dataset) (func() any, int, error) {
}
ret = &payload.Search_Request{
Vector: v.([]float32),
Config: &payload.Search_Config{
Num: 10,
Radius: -1,
Epsilon: 0.1,
},

Check warning on line 41 in pkg/tools/cli/loadtest/service/search.go

View check run for this annotation

Codecov / codecov/patch

pkg/tools/cli/loadtest/service/search.go#L37-L41

Added lines #L37 - L41 were not covered by tests
}
}
return ret
Expand Down

0 comments on commit 063b857

Please sign in to comment.