While developing a wrapper for elasticsearch for my application I got
a little confused with the asynchronous nature of the calls and the
Java API. The API is really neat, but it somewhat suffers from
I think a few more examples with a full breakdown of each method would
really help a lot in clarifying all doubts.
Meanwhile I have some questions:
- What does the execute() method on a request builder actually do?
- What does the actionGet() method do?
- If a resource is added to the indexer queue (if I understand
correctly, that's what happens after executing the prepareIndex
directive) is there anything that can do wrong with indexing later on?
If so, how to find out?
- What are index() and delete() methods for?