From ff6f1bc227cc05aad190d91faef0eeb2d76b6417 Mon Sep 17 00:00:00 2001 From: apurvsibal <30145118+apurvsibal@users.noreply.github.com> Date: Thu, 15 Dec 2022 08:44:58 -0500 Subject: [PATCH] Wrapper query docs refer to transport client and HLRC #89263 (#91149) --- docs/reference/query-dsl/wrapper-query.asciidoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/reference/query-dsl/wrapper-query.asciidoc b/docs/reference/query-dsl/wrapper-query.asciidoc index b8b9626202e7..fe0d72684943 100644 --- a/docs/reference/query-dsl/wrapper-query.asciidoc +++ b/docs/reference/query-dsl/wrapper-query.asciidoc @@ -20,7 +20,4 @@ GET /_search <1> Base64 encoded string: `{"term" : { "user.id" : "kimchy" }}` -This query is more useful in the context of the Java high-level REST client or -transport client to also accept queries as json formatted string. -In these cases queries can be specified as a json or yaml formatted string or -as a query builder (which is a available in the Java high-level REST client). \ No newline at end of file +This query is more useful in the context of Spring Data Elasticsearch. It's the way a user can add custom queries when using Spring Data repositories. The user can add a @Query() annotation to a repository method. When such a method is called we do a parameter replacement in the query argument of the annotation and then send this as the query part of a search request. \ No newline at end of file