Skip to content

Commit

Permalink
fix: add missing search request parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Strift committed Feb 18, 2025
1 parent 4ef68df commit 83a4c9c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index_search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ func TestIndex_SearchWithContentEncoding(t *testing.T) {
Query: "prince",
Request: &SearchRequest{
IndexUID: "indexUID",
Limit: 20,
Offset: 0,
},
FacetRequest: &FacetSearchRequest{
FacetName: "tag",
Expand Down Expand Up @@ -57,6 +59,8 @@ func TestIndex_SearchWithContentEncoding(t *testing.T) {
Query: "prince",
Request: &SearchRequest{
IndexUID: "indexUID",
Limit: 20,
Offset: 0,
},
Response: &SearchResponse{
Hits: []interface{}{
Expand Down Expand Up @@ -90,6 +94,8 @@ func TestIndex_SearchWithContentEncoding(t *testing.T) {
Query: "prince",
Request: &SearchRequest{
IndexUID: "indexUID",
Limit: 20,
Offset: 0,
},
Response: &SearchResponse{
Hits: []interface{}{
Expand Down

0 comments on commit 83a4c9c

Please sign in to comment.