You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Roy Teeuwen <ro...@teeuwen.be> on 2018/11/24 14:08:31 UTC
Elasticsearch rest client
Hey,
I am trying to use the Elasticsearch rest client (version 6) in Felix / Sling, but it seems I am only capable of using the (wrapped) low level rest client because the high level one has sooo many dependencies and I haven't been capable to get it to work yet. Anyone maybe ever made a wrapper for the v6 that has all the dependencies embedded and only the correct packages for using it as client exported?
Thanks,
Roy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Elasticsearch rest client
Posted by Alain Picard <ap...@benchmarkconsulting.com>.
I shared it with you via Dropbox, you should received an email from them.
Alain
On Mon, Nov 26, 2018 at 8:07 AM Roy Teeuwen <ro...@teeuwen.be> wrote:
> That would be nice Alain, thanks!
>
> > On 25 Nov 2018, at 23:01, Alain Picard <ap...@benchmarkconsulting.com>
> wrote:
> >
> > Roy,
> >
> > Right now I'm including all of those jar in my bundle classpath, I have
> not
> > yet integrated this as part of our target platform with a formal
> > repository. I can always provide you with a jar of our PDE project with
> > just the Elasticsearch piece.
> >
> > Let me know what you want to do
> >
> > Alain
> >
> >
> > On Sun, Nov 25, 2018 at 3:09 PM Roy Teeuwen <ro...@teeuwen.be> wrote:
> >
> >> Hey Alain,
> >>
> >> Thanks! You don't happen to have a pom / plugin example to build this
> jar?
> >> Would make it a bit easier.
> >>
> >> @Francois @Jean-Baptiste thanks! Didn't know about the JestClient, maybe
> >> this will do as well, it makes it already a bit better than the low
> level
> >> one, but having a real builder like the rest-client would still be more
> >> prefereable
> >>
> >> Greets,
> >> Roy
> >>
> >>> On 24 Nov 2018, at 15:44, Alain Picard <
> apicard@benchmarkconsulting.com>
> >> wrote:
> >>>
> >>> Roy,
> >>>
> >>> Not sure how well that will match for you, but here's the list from our
> >>> search bundle and it includes the high-level client.
> >>>
> >>> YMMV
> >>>
> >>> Cheers,
> >>> Alain
> >>>
> >>> lib/elasticsearch-6.4.0.jar,
> >>> lib/elasticsearch-rest-high-level-client-6.4.0.jar,
> >>> lib/elasticsearch-rest-client-6.4.0.jar,
> >>> lib/elasticsearch-core-6.4.0.jar,
> >>> lib/lucene-core-7.4.0.jar,
> >>> lib/lucene-queryparser-7.4.0.jar,
> >>> lib/lucene-join-7.4.0.jar,
> >>> lib/transport-6.4.0.jar,
> >>> lib/log4j-api-2.11.1.jar,
> >>> lib/elasticsearch-x-content-6.4.0.jar,
> >>> lib/lang-mustache-client-6.4.0.jar,
> >>> lib/rank-eval-client-6.4.0.jar,
> >>> lib/httpasyncclient-4.1.2.jar,
> >>> lib/transport-netty4-client-6.4.0.jar,
> >>> lib/reindex-client-6.4.0.jar,
> >>> lib/percolator-client-6.4.0.jar,
> >>> lib/parent-join-client-6.4.0.jar,
> >>> lib/hppc-0.7.1.jar,
> >>> lib/jackson-core-2.9.0.jar,
> >>> lib/netty-common-4.1.16.Final.jar,
> >>> lib/netty-buffer-4.1.16.Final.jar,
> >>> lib/netty-transport-4.1.16.Final.jar,
> >>> lib/lucene-sandbox-7.4.0.jar,
> >>> lib/elasticsearch-cli-6.4.0.jar,
> >>> lib/lucene-highlighter-7.4.0.jar,
> >>> lib/lucene-queries-7.4.0.jar,
> >>> lib/t-digest-3.2.jar,
> >>> lib/lucene-misc-7.4.0.jar,
> >>> lib/netty-resolver-4.1.16.Final.jar,
> >>> lib/netty-handler-4.1.16.Final.jar,
> >>> lib/netty-codec-4.1.16.Final.jar,
> >>> lib/joda-time-2.9.9.jar
> >>>
> >>>
> >>>
> >>> On Sat, Nov 24, 2018 at 9:08 AM Roy Teeuwen <ro...@teeuwen.be> wrote:
> >>>
> >>>> Hey,
> >>>>
> >>>> I am trying to use the Elasticsearch rest client (version 6) in Felix
> /
> >>>> Sling, but it seems I am only capable of using the (wrapped) low level
> >> rest
> >>>> client because the high level one has sooo many dependencies and I
> >> haven't
> >>>> been capable to get it to work yet. Anyone maybe ever made a wrapper
> for
> >>>> the v6 that has all the dependencies embedded and only the correct
> >> packages
> >>>> for using it as client exported?
> >>>>
> >>>> Thanks,
> >>>> Roy
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >>>> For additional commands, e-mail: users-help@felix.apache.org
> >>>>
> >>>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> For additional commands, e-mail: users-help@felix.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Elasticsearch rest client
Posted by Roy Teeuwen <ro...@teeuwen.be>.
That would be nice Alain, thanks!
> On 25 Nov 2018, at 23:01, Alain Picard <ap...@benchmarkconsulting.com> wrote:
>
> Roy,
>
> Right now I'm including all of those jar in my bundle classpath, I have not
> yet integrated this as part of our target platform with a formal
> repository. I can always provide you with a jar of our PDE project with
> just the Elasticsearch piece.
>
> Let me know what you want to do
>
> Alain
>
>
> On Sun, Nov 25, 2018 at 3:09 PM Roy Teeuwen <ro...@teeuwen.be> wrote:
>
>> Hey Alain,
>>
>> Thanks! You don't happen to have a pom / plugin example to build this jar?
>> Would make it a bit easier.
>>
>> @Francois @Jean-Baptiste thanks! Didn't know about the JestClient, maybe
>> this will do as well, it makes it already a bit better than the low level
>> one, but having a real builder like the rest-client would still be more
>> prefereable
>>
>> Greets,
>> Roy
>>
>>> On 24 Nov 2018, at 15:44, Alain Picard <ap...@benchmarkconsulting.com>
>> wrote:
>>>
>>> Roy,
>>>
>>> Not sure how well that will match for you, but here's the list from our
>>> search bundle and it includes the high-level client.
>>>
>>> YMMV
>>>
>>> Cheers,
>>> Alain
>>>
>>> lib/elasticsearch-6.4.0.jar,
>>> lib/elasticsearch-rest-high-level-client-6.4.0.jar,
>>> lib/elasticsearch-rest-client-6.4.0.jar,
>>> lib/elasticsearch-core-6.4.0.jar,
>>> lib/lucene-core-7.4.0.jar,
>>> lib/lucene-queryparser-7.4.0.jar,
>>> lib/lucene-join-7.4.0.jar,
>>> lib/transport-6.4.0.jar,
>>> lib/log4j-api-2.11.1.jar,
>>> lib/elasticsearch-x-content-6.4.0.jar,
>>> lib/lang-mustache-client-6.4.0.jar,
>>> lib/rank-eval-client-6.4.0.jar,
>>> lib/httpasyncclient-4.1.2.jar,
>>> lib/transport-netty4-client-6.4.0.jar,
>>> lib/reindex-client-6.4.0.jar,
>>> lib/percolator-client-6.4.0.jar,
>>> lib/parent-join-client-6.4.0.jar,
>>> lib/hppc-0.7.1.jar,
>>> lib/jackson-core-2.9.0.jar,
>>> lib/netty-common-4.1.16.Final.jar,
>>> lib/netty-buffer-4.1.16.Final.jar,
>>> lib/netty-transport-4.1.16.Final.jar,
>>> lib/lucene-sandbox-7.4.0.jar,
>>> lib/elasticsearch-cli-6.4.0.jar,
>>> lib/lucene-highlighter-7.4.0.jar,
>>> lib/lucene-queries-7.4.0.jar,
>>> lib/t-digest-3.2.jar,
>>> lib/lucene-misc-7.4.0.jar,
>>> lib/netty-resolver-4.1.16.Final.jar,
>>> lib/netty-handler-4.1.16.Final.jar,
>>> lib/netty-codec-4.1.16.Final.jar,
>>> lib/joda-time-2.9.9.jar
>>>
>>>
>>>
>>> On Sat, Nov 24, 2018 at 9:08 AM Roy Teeuwen <ro...@teeuwen.be> wrote:
>>>
>>>> Hey,
>>>>
>>>> I am trying to use the Elasticsearch rest client (version 6) in Felix /
>>>> Sling, but it seems I am only capable of using the (wrapped) low level
>> rest
>>>> client because the high level one has sooo many dependencies and I
>> haven't
>>>> been capable to get it to work yet. Anyone maybe ever made a wrapper for
>>>> the v6 that has all the dependencies embedded and only the correct
>> packages
>>>> for using it as client exported?
>>>>
>>>> Thanks,
>>>> Roy
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Elasticsearch rest client
Posted by Alain Picard <ap...@benchmarkconsulting.com>.
Roy,
Right now I'm including all of those jar in my bundle classpath, I have not
yet integrated this as part of our target platform with a formal
repository. I can always provide you with a jar of our PDE project with
just the Elasticsearch piece.
Let me know what you want to do
Alain
On Sun, Nov 25, 2018 at 3:09 PM Roy Teeuwen <ro...@teeuwen.be> wrote:
> Hey Alain,
>
> Thanks! You don't happen to have a pom / plugin example to build this jar?
> Would make it a bit easier.
>
> @Francois @Jean-Baptiste thanks! Didn't know about the JestClient, maybe
> this will do as well, it makes it already a bit better than the low level
> one, but having a real builder like the rest-client would still be more
> prefereable
>
> Greets,
> Roy
>
> > On 24 Nov 2018, at 15:44, Alain Picard <ap...@benchmarkconsulting.com>
> wrote:
> >
> > Roy,
> >
> > Not sure how well that will match for you, but here's the list from our
> > search bundle and it includes the high-level client.
> >
> > YMMV
> >
> > Cheers,
> > Alain
> >
> > lib/elasticsearch-6.4.0.jar,
> > lib/elasticsearch-rest-high-level-client-6.4.0.jar,
> > lib/elasticsearch-rest-client-6.4.0.jar,
> > lib/elasticsearch-core-6.4.0.jar,
> > lib/lucene-core-7.4.0.jar,
> > lib/lucene-queryparser-7.4.0.jar,
> > lib/lucene-join-7.4.0.jar,
> > lib/transport-6.4.0.jar,
> > lib/log4j-api-2.11.1.jar,
> > lib/elasticsearch-x-content-6.4.0.jar,
> > lib/lang-mustache-client-6.4.0.jar,
> > lib/rank-eval-client-6.4.0.jar,
> > lib/httpasyncclient-4.1.2.jar,
> > lib/transport-netty4-client-6.4.0.jar,
> > lib/reindex-client-6.4.0.jar,
> > lib/percolator-client-6.4.0.jar,
> > lib/parent-join-client-6.4.0.jar,
> > lib/hppc-0.7.1.jar,
> > lib/jackson-core-2.9.0.jar,
> > lib/netty-common-4.1.16.Final.jar,
> > lib/netty-buffer-4.1.16.Final.jar,
> > lib/netty-transport-4.1.16.Final.jar,
> > lib/lucene-sandbox-7.4.0.jar,
> > lib/elasticsearch-cli-6.4.0.jar,
> > lib/lucene-highlighter-7.4.0.jar,
> > lib/lucene-queries-7.4.0.jar,
> > lib/t-digest-3.2.jar,
> > lib/lucene-misc-7.4.0.jar,
> > lib/netty-resolver-4.1.16.Final.jar,
> > lib/netty-handler-4.1.16.Final.jar,
> > lib/netty-codec-4.1.16.Final.jar,
> > lib/joda-time-2.9.9.jar
> >
> >
> >
> > On Sat, Nov 24, 2018 at 9:08 AM Roy Teeuwen <ro...@teeuwen.be> wrote:
> >
> >> Hey,
> >>
> >> I am trying to use the Elasticsearch rest client (version 6) in Felix /
> >> Sling, but it seems I am only capable of using the (wrapped) low level
> rest
> >> client because the high level one has sooo many dependencies and I
> haven't
> >> been capable to get it to work yet. Anyone maybe ever made a wrapper for
> >> the v6 that has all the dependencies embedded and only the correct
> packages
> >> for using it as client exported?
> >>
> >> Thanks,
> >> Roy
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> For additional commands, e-mail: users-help@felix.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Elasticsearch rest client
Posted by Roy Teeuwen <ro...@teeuwen.be>.
Hey Alain,
Thanks! You don't happen to have a pom / plugin example to build this jar? Would make it a bit easier.
@Francois @Jean-Baptiste thanks! Didn't know about the JestClient, maybe this will do as well, it makes it already a bit better than the low level one, but having a real builder like the rest-client would still be more prefereable
Greets,
Roy
> On 24 Nov 2018, at 15:44, Alain Picard <ap...@benchmarkconsulting.com> wrote:
>
> Roy,
>
> Not sure how well that will match for you, but here's the list from our
> search bundle and it includes the high-level client.
>
> YMMV
>
> Cheers,
> Alain
>
> lib/elasticsearch-6.4.0.jar,
> lib/elasticsearch-rest-high-level-client-6.4.0.jar,
> lib/elasticsearch-rest-client-6.4.0.jar,
> lib/elasticsearch-core-6.4.0.jar,
> lib/lucene-core-7.4.0.jar,
> lib/lucene-queryparser-7.4.0.jar,
> lib/lucene-join-7.4.0.jar,
> lib/transport-6.4.0.jar,
> lib/log4j-api-2.11.1.jar,
> lib/elasticsearch-x-content-6.4.0.jar,
> lib/lang-mustache-client-6.4.0.jar,
> lib/rank-eval-client-6.4.0.jar,
> lib/httpasyncclient-4.1.2.jar,
> lib/transport-netty4-client-6.4.0.jar,
> lib/reindex-client-6.4.0.jar,
> lib/percolator-client-6.4.0.jar,
> lib/parent-join-client-6.4.0.jar,
> lib/hppc-0.7.1.jar,
> lib/jackson-core-2.9.0.jar,
> lib/netty-common-4.1.16.Final.jar,
> lib/netty-buffer-4.1.16.Final.jar,
> lib/netty-transport-4.1.16.Final.jar,
> lib/lucene-sandbox-7.4.0.jar,
> lib/elasticsearch-cli-6.4.0.jar,
> lib/lucene-highlighter-7.4.0.jar,
> lib/lucene-queries-7.4.0.jar,
> lib/t-digest-3.2.jar,
> lib/lucene-misc-7.4.0.jar,
> lib/netty-resolver-4.1.16.Final.jar,
> lib/netty-handler-4.1.16.Final.jar,
> lib/netty-codec-4.1.16.Final.jar,
> lib/joda-time-2.9.9.jar
>
>
>
> On Sat, Nov 24, 2018 at 9:08 AM Roy Teeuwen <ro...@teeuwen.be> wrote:
>
>> Hey,
>>
>> I am trying to use the Elasticsearch rest client (version 6) in Felix /
>> Sling, but it seems I am only capable of using the (wrapped) low level rest
>> client because the high level one has sooo many dependencies and I haven't
>> been capable to get it to work yet. Anyone maybe ever made a wrapper for
>> the v6 that has all the dependencies embedded and only the correct packages
>> for using it as client exported?
>>
>> Thanks,
>> Roy
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Elasticsearch rest client
Posted by Alain Picard <ap...@benchmarkconsulting.com>.
Roy,
Not sure how well that will match for you, but here's the list from our
search bundle and it includes the high-level client.
YMMV
Cheers,
Alain
lib/elasticsearch-6.4.0.jar,
lib/elasticsearch-rest-high-level-client-6.4.0.jar,
lib/elasticsearch-rest-client-6.4.0.jar,
lib/elasticsearch-core-6.4.0.jar,
lib/lucene-core-7.4.0.jar,
lib/lucene-queryparser-7.4.0.jar,
lib/lucene-join-7.4.0.jar,
lib/transport-6.4.0.jar,
lib/log4j-api-2.11.1.jar,
lib/elasticsearch-x-content-6.4.0.jar,
lib/lang-mustache-client-6.4.0.jar,
lib/rank-eval-client-6.4.0.jar,
lib/httpasyncclient-4.1.2.jar,
lib/transport-netty4-client-6.4.0.jar,
lib/reindex-client-6.4.0.jar,
lib/percolator-client-6.4.0.jar,
lib/parent-join-client-6.4.0.jar,
lib/hppc-0.7.1.jar,
lib/jackson-core-2.9.0.jar,
lib/netty-common-4.1.16.Final.jar,
lib/netty-buffer-4.1.16.Final.jar,
lib/netty-transport-4.1.16.Final.jar,
lib/lucene-sandbox-7.4.0.jar,
lib/elasticsearch-cli-6.4.0.jar,
lib/lucene-highlighter-7.4.0.jar,
lib/lucene-queries-7.4.0.jar,
lib/t-digest-3.2.jar,
lib/lucene-misc-7.4.0.jar,
lib/netty-resolver-4.1.16.Final.jar,
lib/netty-handler-4.1.16.Final.jar,
lib/netty-codec-4.1.16.Final.jar,
lib/joda-time-2.9.9.jar
On Sat, Nov 24, 2018 at 9:08 AM Roy Teeuwen <ro...@teeuwen.be> wrote:
> Hey,
>
> I am trying to use the Elasticsearch rest client (version 6) in Felix /
> Sling, but it seems I am only capable of using the (wrapped) low level rest
> client because the high level one has sooo many dependencies and I haven't
> been capable to get it to work yet. Anyone maybe ever made a wrapper for
> the v6 that has all the dependencies embedded and only the correct packages
> for using it as client exported?
>
> Thanks,
> Roy
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Elasticsearch rest client
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Roy,
you can take a look on the Karaf Decanter Elasticsearch REST appender:
https://github.com/apache/karaf-decanter/tree/master/appender/elasticsearch-rest
Regards
JB
On 24/11/2018 15:08, Roy Teeuwen wrote:
> Hey,
>
> I am trying to use the Elasticsearch rest client (version 6) in Felix / Sling, but it seems I am only capable of using the (wrapped) low level rest client because the high level one has sooo many dependencies and I haven't been capable to get it to work yet. Anyone maybe ever made a wrapper for the v6 that has all the dependencies embedded and only the correct packages for using it as client exported?
>
> Thanks,
> Roy
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Elasticsearch rest client
Posted by Francois Papon <fr...@openobject.fr>.
Hi Roy,
We are using the ES rest client in Karaf Decanter appender, may be it
could help:
https://github.com/apache/karaf-decanter/tree/master/appender/elasticsearch-rest
regards,
François Papon
fpapon@apache.org
Le 24/11/2018 à 18:08, Roy Teeuwen a écrit :
> Hey,
>
> I am trying to use the Elasticsearch rest client (version 6) in Felix / Sling, but it seems I am only capable of using the (wrapped) low level rest client because the high level one has sooo many dependencies and I haven't been capable to get it to work yet. Anyone maybe ever made a wrapper for the v6 that has all the dependencies embedded and only the correct packages for using it as client exported?
>
> Thanks,
> Roy
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org