You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/07/04 09:02:25 UTC

[GitHub] [camel] erayerdem opened a new pull request #5790: Elasticsearch-rest empty index name problem

erayerdem opened a new pull request #5790:
URL: https://github.com/apache/camel/pull/5790


   When a specific index is not given in the searchrequest object, the index name in camel dsl should be taken.
   
   `.setBody(constant(new SearchRequest())) .to("elasticsearch-rest://elasticsearch?operation=Search&indexName=camel&useScroll=true&scrollKeepAliveMs=30000")`
   
   In this scenario, a query is made with an empty index and documents related to the index are sent to me. If we change the code like this, it will search the camel index.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus merged pull request #5790: Elasticsearch-rest empty index name problem

Posted by GitBox <gi...@apache.org>.
davsclaus merged pull request #5790:
URL: https://github.com/apache/camel/pull/5790


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org