I am currently creating a plugin, but need to know if there is another plugin installed before indexing some documents.
I know there is the _cat/plugins API, but is there any way to get the list of currently installed plugins without making an API call? I see NodeInfo class holds this information but I can't figure out a way to access this.
The way to do this is with a NodeInfoRequest using the NodeClient, but this probably is not something you want to do on every indexing request. What is it about another plugin being installed you want to know? If you can explain more about what you are trying to achieve, we can probably help come up with another alternative.
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.