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/04/26 11:41:03 UTC

[GitHub] [camel-kamelets] Delawen opened a new pull request #172: ElasticSearch search source kamelet

Delawen opened a new pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172


   For some reason the generated documentation does not add the icon. Not sure if it is a "me" problem.


-- 
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.

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



[GitHub] [camel-kamelets] Delawen edited a comment on pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
Delawen edited a comment on pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172#issuecomment-826784457


   I don't think I can do proper yaks testing against an ElasticSearch.
   
   I am testing that queries like the following work fine with my own ElasticSearch:
   
   ```
   kamel bind "elasticsearch-search-source?clusterName=quickstart&hostAddresses=quickstart-es-http:9200&user=elastic&password=3n766wE6tg1K4uL1m8or4CqB&query=%7B%22query%22:%7B%22match%22:%7B%22test%22:%22123%22%7D%20%7D%20%7D&indexName=data&enableSSL=false" log:info; 
   kamel logs elasticsearch-search-source-to-log
   ```


-- 
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.

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



[GitHub] [camel-kamelets] Delawen edited a comment on pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
Delawen edited a comment on pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172#issuecomment-826784457


   I don't think I can do proper yaks testing against an ElasticSearch.
   
   I am testing that queries like the following work fine with my own ElasticSearch:
   
   ```kamel bind "elasticsearch-search-source?clusterName=quickstart&hostAddresses=quickstart-es-http:9200&user=elastic&password=3n766wE6tg1K4uL1m8or4CqB&query=%7B%22query%22:%7B%22match%22:%7B%22test%22:%22123%22%7D%20%7D%20%7D&indexName=data&enableSSL=false" log:info; 
   kamel logs elasticsearch-search-source-to-log```


-- 
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.

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



[GitHub] [camel-kamelets] nicolaferraro commented on pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
nicolaferraro commented on pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172#issuecomment-826816796


   Cool, thanks


-- 
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.

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



[GitHub] [camel-kamelets] nicolaferraro merged pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
nicolaferraro merged pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172


   


-- 
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.

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



[GitHub] [camel-kamelets] Delawen commented on pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
Delawen commented on pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172#issuecomment-826784457


   I don't think I can do proper yaks testing against an ElasticSearch.
   
   I am testing that queries like the following work fine with my own ElasticSearch:
   
   ```kamel bind "elasticsearch-search-source?clusterName=quickstart&hostAddresses=quickstart-es-http:9200&user=elastic&password=3n766wE6tg1K4uL1m8or4CqB&query=%7B%22query%22:%7B%22match%22:%7B%22test%22:%22123%22%7D%20%7D%20%7D&indexName=data&enableSSL=false" log:info; kamel logs elasticsearch-search-source-to-log```


-- 
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.

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



[GitHub] [camel-kamelets] oscerd commented on pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
oscerd commented on pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172#issuecomment-826773573


   Json would be better.


-- 
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.

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



[GitHub] [camel-kamelets] Delawen commented on pull request #172: ElasticSearch search source kamelet

Posted by GitBox <gi...@apache.org>.
Delawen commented on pull request #172:
URL: https://github.com/apache/camel-kamelets/pull/172#issuecomment-826771816


   The output is of type `org.elasticsearch.search.SearchHits`. Is that fine or should I try to "normalize" this to something standard like a String with a JSON?
   
   ```[1] 2021-04-26 10:56:34,456 INFO  [info] (Camel (camel-1) thread #0 - timer://tick) Exchange[ExchangePattern: InOnly, BodyType: org.elasticsearch.search.SearchHits, Body: org.elasticsearch.search.SearchHits@393ceaa3]```


-- 
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.

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