Skip to content

Commit

Permalink
wip: browse body isn't empty
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Mar 27, 2023
1 parent 771ebde commit e0cc2a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ suspend fun main() {
//searchIndex(searchClient)
//dictionary(searchClient)
browsing(searchClient)
//indices(searchClient)
//clearSynonms(searchClient)

exitProcess(0)
}
Expand Down Expand Up @@ -81,7 +83,7 @@ private suspend fun indices(searchClient: SearchClient) {
}

private suspend fun browsing(searchClient: SearchClient) {
val browse = searchClient.browse(indexName = "dev_podcasts", browseParams = BrowseParamsObject(query = ""))
val browse = searchClient.browse(indexName = "dev_podcasts", browseParams = BrowseParamsObject())
println(browse)
}

Expand Down
1 change: 0 additions & 1 deletion specs/search/common/schemas/SearchResponse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ baseSearchResponse:
- nbPages
- hitsPerPage
- processingTimeMS
- exhaustiveNbHits
- query
- params
properties:
Expand Down
1 change: 1 addition & 0 deletions specs/search/paths/search/browse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ post:
parameters:
- $ref: '../../../common/parameters.yml#/IndexName'
requestBody:
required: true
content:
application/json:
schema:
Expand Down

0 comments on commit e0cc2a1

Please sign in to comment.