Hi,
I have an ArrayList of objects. Say the objects are of the following format
public class S
{
String ID;
Date startTime;
Long duration;
List<Tag> tags;
Process process;
}
Here, Tag and Process are POJOs.
I want to
- Index the Java objects in elasticsearch using the Java API
- Make queries in the stored index (in the nested objects as well i.e., in Tag, Process)
I am using Flink-elasticsearch connector and IndexRequest class to insert the index.
How can I do it ?