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
Since we are adding this plugin .addPlugin(DeleteByQueryPlugin.class). for every client connection called it has to load the plugin . This may affect the search or index perfomance
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.