I am very new to elasticsearch. I found some simple java code for using elasticsearch:
import static org.elasticsearch.node.NodeBuilder.*;
// on startup
Node node = nodeBuilder().node();
Client client = node.client();
// on shutdown
node.close();
I am getting the following error:
package org.elasticsearch.node doesn't exist
Later, I found that I have put some information in pom.xml. What is that? How to make this simple program run?