diff --git a/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java b/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java index 866165338b9..743e37d0d93 100644 --- a/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java +++ b/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java @@ -265,8 +265,8 @@ private static boolean hasOperation(ObjectNode doc, ReservedGroup group, Reserve @io.swagger.v3.oas.annotations.Operation( - summary = "Search endpoint", - description = "See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html for search parameters details.") + summary = "Execute a search query and get back search hits that match the query.", + description = "The search API execute a search query with a JSON request body. For more information see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-search.html for search parameters, and https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html JSON Query DSL.") @RequestMapping(value = "/search/records/_search", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE, @@ -303,8 +303,8 @@ public void search( @io.swagger.v3.oas.annotations.Operation( - summary = "Search endpoint", - description = "See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html for search parameters details.") + summary = "Executes several searches with a Elasticsearch API request.", + description = "The multi search API executes several searches from a single API request. See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html for search parameters, and https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html Query DSL.") @RequestMapping(value = "/search/records/_msearch", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE,