[ 
https://issues.apache.org/jira/browse/CAMEL-12962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17023536#comment-17023536
 ] 

Miguel Serra commented on CAMEL-12962:
--------------------------------------

Hi. I was trying to work on this issue. But I'm getting this error in version 
3.1.0-SNAPSHOT while testing. But it does work with version 3.0.0.
{code:java}
// code placeholder
Failed to resolve endpoint: 
elasticsearch-rest://elasticsearch?indexName=twitter&operation=Index due to: 
Failed to resolve endpoint: 
elasticsearch-rest://elasticsearch?indexName=twitter&operation=Index due to: 
There are 2 parameters that couldn't be set on the endpoint. Check the uri if 
the parameters are spelt correctly and that they are properties of the 
endpoint. Unknown parameters=[{indexName=twitter, operation=Index}]
{code}

> camel-elasticsearch - Allow from and size for SearchSource / SearchRequest to 
> be set via URI
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-12962
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12962
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-elasticsearch-rest
>    Affects Versions: 2.22.1
>            Reporter: Derek White
>            Priority: Minor
>             Fix For: Future
>
>
> There is currently no straightforward way that I know of to request more than 
> the first 10 search results. Please allow from and size for SearchSource / 
> SearchRequest to be set via URI.
> To add, since the ElasticsearchActionRequestConverter actually pulls the root 
> node of the Query DSL, setting from and size in the request body string or 
> Map is actually ignored.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to