You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/05/09 17:18:33 UTC
[camel] branch main updated: Remove indexType from example as the option is removed.
This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 5c873810b3a Remove indexType from example as the option is removed.
5c873810b3a is described below
commit 5c873810b3a2d97c2592803291206c868ca68ba2
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 9 19:18:19 2022 +0200
Remove indexType from example as the option is removed.
---
.../src/main/docs/elasticsearch-rest-component.adoc | 2 +-
.../elasticsearch/converter/ElasticsearchActionRequestConverter.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-elasticsearch-rest/src/main/docs/elasticsearch-rest-component.adoc b/components/camel-elasticsearch-rest/src/main/docs/elasticsearch-rest-component.adoc
index 305f924467a..85cd064c8fb 100644
--- a/components/camel-elasticsearch-rest/src/main/docs/elasticsearch-rest-component.adoc
+++ b/components/camel-elasticsearch-rest/src/main/docs/elasticsearch-rest-component.adoc
@@ -71,7 +71,7 @@ the key "indexId".
|GetById |*String* or *GetRequest* index id of content to retrieve |Retrieves the specified index and returns a GetResult object in the body
-|Delete |*String* or *DeleteRequest* index name and type of content to delete |Deletes the specified indexName and indexType and returns a DeleteResponse object in the
+|Delete |*String* or *DeleteRequest* index name and type of content to delete |Deletes the specified indexName and returns a DeleteResponse object in the
body
|DeleteIndex |*String* or *DeleteRequest* index name of the index to delete |Deletes the specified indexName and returns a status code the
diff --git a/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java b/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
index 0e62d79b037..fccbda48f34 100644
--- a/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
+++ b/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
@@ -174,7 +174,7 @@ public final class ElasticsearchActionRequestConverter {
}
SearchRequest searchRequest = new SearchRequest();
- // Only setup the indexName and indexType if the message header has the
+ // Only setup the indexName if the message header has the
// setting
Integer size = exchange.getIn().getHeader(ElasticsearchConstants.PARAM_SIZE, Integer.class);