The differences are
- the prepare() method allow to build immutable request objects. Mutable
and immutable objects have different characteristics due to performance in
a multithreaded system design, since immutable objects are free of side
effects. In Java 8 you can look at the Lambda feature, it
some of the API methods are interchangeable (more or less) to support
different coding styles,
so for example to index document, you can:
- client.*prepareIndex*("test", "test").setSource(...).*get*()
or
- client.*prepareIndex*("test", "test").setSource(...).*execute*().
*actionGet*()
or
- client
Hi guys,
I've recently gotten into Elasticsearch because the old search
engine at my site
http://ookaboo.com/
is horribly slow and I need something better. I've done a lot of
work with Lucene and Solr in the past and particular I've been involved
with projects that m