diff --git a/playground/kotlin/src/main/kotlin/com/algolia/playground/Main.kt b/playground/kotlin/src/main/kotlin/com/algolia/playground/Main.kt index 08cde51a28..e887d56568 100644 --- a/playground/kotlin/src/main/kotlin/com/algolia/playground/Main.kt +++ b/playground/kotlin/src/main/kotlin/com/algolia/playground/Main.kt @@ -24,6 +24,8 @@ suspend fun main() { //searchIndex(searchClient) //dictionary(searchClient) browsing(searchClient) + //indices(searchClient) + //clearSynonms(searchClient) exitProcess(0) } @@ -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) } diff --git a/specs/search/common/schemas/SearchResponse.yml b/specs/search/common/schemas/SearchResponse.yml index ae6da4edf4..04abba8639 100644 --- a/specs/search/common/schemas/SearchResponse.yml +++ b/specs/search/common/schemas/SearchResponse.yml @@ -23,7 +23,6 @@ baseSearchResponse: - nbPages - hitsPerPage - processingTimeMS - - exhaustiveNbHits - query - params properties: diff --git a/specs/search/paths/search/browse.yml b/specs/search/paths/search/browse.yml index e5de921406..34816d9936 100644 --- a/specs/search/paths/search/browse.yml +++ b/specs/search/paths/search/browse.yml @@ -12,6 +12,7 @@ post: parameters: - $ref: '../../../common/parameters.yml#/IndexName' requestBody: + required: true content: application/json: schema: