I'm having trouble getting the local nodeID with the Java API from within a
What I want is to have my native script return only documents present
locally on the node, so I can perform some operations on them.
My plan of execution is to get the local nodeID, then create a node using
nodeBuilder within the native script and execute a search with the search
preferences "_only_node:nodeID" as part of my search criterion.
This will hopefully achieve the result I am looking for.
Does anyone have any experience doing something similar with the Java API?
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.