This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 74c23499154 Update elasticsearch-rest-client-component.adoc
74c23499154 is described below
commit 74c23499154e50a581c3e0d88a08bc3c075f2d67
Author: Lukas Lowinger <[email protected]>
AuthorDate: Thu Jul 11 12:52:00 2024 +0200
Update elasticsearch-rest-client-component.adoc
---
.../src/main/docs/elasticsearch-rest-client-component.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-elasticsearch-rest-client/src/main/docs/elasticsearch-rest-client-component.adoc
b/components/camel-elasticsearch-rest-client/src/main/docs/elasticsearch-rest-client-component.adoc
index 28c5a34faab..d6d9005646e 100644
---
a/components/camel-elasticsearch-rest-client/src/main/docs/elasticsearch-rest-client-component.adoc
+++
b/components/camel-elasticsearch-rest-client/src/main/docs/elasticsearch-rest-client-component.adoc
@@ -80,7 +80,7 @@ You may also provide a header with the key `INDEX_SETTINGS`
where the value is a
|`DELETE_INDEX` | |Deletes the specified `indexName` and returns a `boolean`
value as the message exchange body, indicating whether the operation was
successful.
You can set the name of the target index to create from the `indexName` URI
parameter option, or by providing a message header with the key `INDEX_NAME`.
-|`SEARCH` |`Map (optional) |Search for content with either a `Map` of `String`
keys & values of query criteria. Or a JSON string representation of the query.
Matching documents are returned as a JSON string set on the message exchange
body.
+|`SEARCH` |`Map` (optional) |Search for content with either a `Map` of
`String` keys & values of query criteria. Or a JSON string representation of
the query. Matching documents are returned as a JSON string set on the message
exchange body.
You can set the JSON query String by providing a message header with the key
`SEARCH_QUERY`.
You can set the message exchange body to a `Map` of `String` keys & values for
the query criteria.
@@ -187,4 +187,4 @@ from("direct:search")
.to("elasticsearch-rest-client://myCluster?operation=SEARCH&indexName=myIndex");
----
-include::spring-boot:partial$starter.adoc[]
\ No newline at end of file
+include::spring-boot:partial$starter.adoc[]