8 Commits

Author SHA1 Message Date
Christoph Strobl
691a8c57bc DATAES-488 - Add reactive Elasticsearch client support.
Initial implementation of a ReactiveElasticsearchClient using WebClient to connect to cluster nodes.

ReactiveElasticsearchClient client = ElasticsearchClients.createClient()
  .connectedTo("http://localhost:9200", "http://localhost:9201")
  .reactive();
A HostProvider selects active nodes and routes requests.

client.index(request ->

  request.index("spring-data")
    .type("elasticsearch")
    .id(randomUUID().toString())
    .source(singletonMap("feature", "reactive-client"))
    .setRefreshPolicy(IMMEDIATE);
);
This implementation provides the first building block for reactive Template and Repository support to be added subsequently.

Along the lines we upgraded to Elasticsearch 6.5.

Original Pull Request: #226
2018-12-11 07:17:10 +01:00
Mark Paluch
9bfc6f23b9 DATAES-424 - Fix line endings to LF. 2018-01-24 13:06:40 +01:00
Artur Konczak
089d7746be DATAES-285 - upgrade to elasticsearch 5.x 2017-05-31 19:49:11 +01:00
akonczak
b2572d4950 basic mechanism for term facets 2013-05-20 09:47:26 +01:00
Oliver Gierke
a8aca3e21b DATAES-3 - Moved to Spring Data build system.
Updated pom to use Spring Data build parent file. Renamed Test files to …Tests for the Surefire plugin be able to find it. Added data folder to .gitignore. Added template.mf for Bundlor to create an OSGi MANIFEST.MF.
2013-04-30 12:42:00 +02:00
Mohsin Husen
6a52621dcc Update .gitignore
Ignore project files created by Eclipse
2013-03-06 10:03:19 +00:00
Rizwan Idrees
54a1f186d7 Adding missing files 2013-01-24 17:37:03 +00:00
unknown
5a372910e5 Initial commit 2013-01-24 16:39:44 +00:00