We have an requirement where we have to use the delete by query plugin.
As per new ES version 2.x the delete by query is used as an plugin through Transport client as shown below:
private TransportClient dc1Client = null;
We have been using same transport client for indexing and searching. But adding the delete plugin will make it heavy while performing search and index operations.
Can we have more than one Transport client in an application??
one transport client for indexing and searching and another transport client for using delete by query plugin