mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-05-31 01:02:12 +00:00
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
46 lines
1.4 KiB
Properties
46 lines
1.4 KiB
Properties
# Elasticsearch plugin descriptor file
|
|
# This file must exist as 'plugin-descriptor.properties' inside a plugin.
|
|
#
|
|
### example plugin for "foo"
|
|
#
|
|
# foo.zip <-- zip file for the plugin, with this structure:
|
|
# |____ <arbitrary name1>.jar <-- classes, resources, dependencies
|
|
# |____ <arbitrary nameN>.jar <-- any number of jars
|
|
# |____ plugin-descriptor.properties <-- example contents below:
|
|
#
|
|
# classname=foo.bar.BazPlugin
|
|
# description=My cool plugin
|
|
# version=6.0
|
|
# elasticsearch.version=6.0
|
|
# java.version=1.8
|
|
#
|
|
### mandatory elements for all plugins:
|
|
#
|
|
# 'description': simple summary of the plugin
|
|
description=Adds "built in" analyzers to Elasticsearch.
|
|
#
|
|
# 'version': plugin's version
|
|
version=6.5.0
|
|
#
|
|
# 'name': the plugin name
|
|
name=analysis-common
|
|
#
|
|
# 'classname': the name of the class to load, fully-qualified.
|
|
classname=org.elasticsearch.analysis.common.CommonAnalysisPlugin
|
|
#
|
|
# 'java.version': version of java the code is built against
|
|
# use the system property java.specification.version
|
|
# version string must be a sequence of nonnegative decimal integers
|
|
# separated by "."'s and may have leading zeros
|
|
java.version=1.8
|
|
#
|
|
# 'elasticsearch.version': version of elasticsearch compiled against
|
|
elasticsearch.version=6.5.0
|
|
### optional elements for plugins:
|
|
#
|
|
# 'extended.plugins': other plugins this plugin extends through SPI
|
|
extended.plugins=lang-painless
|
|
#
|
|
# 'has.native.controller': whether or not the plugin has a native controller
|
|
has.native.controller=false
|