Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate docs for _search and _msearch #7728

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,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,
Expand Down Expand Up @@ -313,8 +313,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,
Expand Down
Loading