I am struggling a little bit with using my elasticsearch-suggest-
plugin via a TransportClient.
I am starting an elasticsearch on host a, which starts up fine with my
Then I am creating a TransportClient on host b, with this:
client = new TransportClient(settings).addTransportAddress(new
The problem with this client is, that the actions (like my
SuggestAction) are not registered, when the InternalTransportClient is
created, and I cannot add them afterwards (ok, I just havent found a
way). When I perform a suggest query now, I get a NPE in
InternalTransportClient.execute because the action cannot be looked up
in the actions map.
So do I need to register the actions manually somehow on my client in
order to use them?
Any hints are appreciated...
P.S. Looking forward to berlin buzzwords for meeting some of you