Skip to content

Commit

Permalink
add with_thumbnails option (#140)
Browse files Browse the repository at this point in the history
* add with_thumbnails option

* update test
  • Loading branch information
jessica-christie authored and yowrosales committed Aug 22, 2019
1 parent e66b8e8 commit 07cd16e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions search/search.go
Expand Up @@ -29,6 +29,7 @@ type SearchOptions struct {
IgnoreHits bool `json:"ignore_hits"`
IgnoreHighlightHits bool `json:"ignore_highlight_hits"`
IgnoreIDList bool `json:"ignore_id_list"`
WithThumbnails bool `json:"with_thumbnails"`
}

type SearchResponse struct {
Expand Down
2 changes: 1 addition & 1 deletion search/search_test.go
Expand Up @@ -38,7 +38,7 @@ func createRequestBody() SearchRequestBody {
"hits_per_page": 100,
"page": 1,
},
Options: SearchOptions{false, true, false},
Options: SearchOptions{false, true, false, false},
}
}

Expand Down

0 comments on commit 07cd16e

Please sign in to comment.