691a8c57bc
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
23 lines
266 B
Plaintext
23 lines
266 B
Plaintext
.DS_Store
|
|
*.graphml
|
|
.springBeans
|
|
|
|
atlassian-ide-plugin.xml
|
|
|
|
## Ignore svn files
|
|
.svn
|
|
|
|
## ignore any target dir
|
|
target
|
|
|
|
## Ignore project files created by Eclipse
|
|
.settings
|
|
.project
|
|
.classpath
|
|
|
|
## Ignore project files created by IntelliJ IDEA
|
|
*.iml
|
|
*.ipr
|
|
*.iws
|
|
.idea
|