Spring Boot 1.4.0.RELEASE Reference Documentationa TransportClient) by setting spring.data.elasticsearch.cluster-nodes to a comma-separated ‘host:port’ list. spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { dependencies in a convenient way. Connecting to Couchbase You can very easily get a Bucket and Cluster by adding the Couchbase SDK and some configuration. The spring.couchbase.* properties can be used final Cluster cluster; public CouchbaseCacheConfiguration(Cluster cluster) { this.cluster = cluster; } @Bean public Bucket anotherBucket() { return this.cluster.openBucket("another"0 码力 | 554 页 | 493.90 KB | 1 年前3
Spring Boot 1.4.0.M2 Reference Documentation a TransportClient) by setting spring.data.elasticsearch.cluster-nodes to a comma-separated ‘host:port’ list. spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { dependencies in a convenient way. Connecting to Couchbase You can very easily get a Bucket and Cluster by adding the Couchbase SDK and some configuration. The spring.couchbase.* properties can be used final Cluster cluster; public CouchbaseCacheConfiguration(Cluster cluster) { this.cluster = cluster; } @Bean public Bucket anotherBucket() { return this.cluster.openBucket("another"0 码力 | 328 页 | 1.74 MB | 1 年前3
Spring Boot 1.4.0.M2 Reference Documentationa TransportClient) by setting spring.data.elasticsearch.cluster-nodes to a comma-separated ‘host:port’ list. spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { dependencies in a convenient way. Connecting to Couchbase You can very easily get a Bucket and Cluster by adding the Couchbase SDK and some configuration. The spring.couchbase.* properties can be used final Cluster cluster; public CouchbaseCacheConfiguration(Cluster cluster) { this.cluster = cluster; } @Bean public Bucket anotherBucket() { return this.cluster.openBucket("another"0 码力 | 531 页 | 477.38 KB | 1 年前3
Spring Boot 2.0.0.M4 Reference GuideElasticsearch you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated ‘host:port’ list. ElasticsearchTemplate or TransportClient can be injected like any other Spring bean: spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { private final ElasticsearchTemplate template; dependencies in a convenient way. Connecting to Couchbase You can very easily get a Bucket and Cluster by adding the Couchbase SDK and some configuration. The spring.couchbase.* properties can be used0 码力 | 583 页 | 501.03 KB | 1 年前3
Spring Boot 2.0.0.M3 Reference GuideElasticsearch you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated ‘host:port’ list. ElasticsearchTemplate or TransportClient can be injected like any other Spring bean: spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { private final ElasticsearchTemplate template; dependencies in a convenient way. Connecting to Couchbase You can very easily get a Bucket and Cluster by adding the Couchbase SDK and some configuration. The spring.couchbase.* properties can be used0 码力 | 590 页 | 513.07 KB | 1 年前3
Spring Boot 1.5.6.RELEASE Reference Guidea TransportClient) by setting spring.data.elasticsearch.cluster-nodes to a comma-separated ‘host:port’ list. spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { dependencies in a convenient way. Connecting to Couchbase You can very easily get a Bucket and Cluster by adding the Couchbase SDK and some configuration. The spring.couchbase.* properties can be used final Cluster cluster; public CouchbaseCacheConfiguration(Cluster cluster) { this.cluster = cluster; } @Bean public Bucket anotherBucket() { return this.cluster.openBucket("another"0 码力 | 601 页 | 531.65 KB | 1 年前3
Spring Boot 2.1.10.RELEASE Reference DocumentationElasticsearch by REST clients Elasticsearch ships two different REST clients that you can use to query a cluster: the "Low Level" client and the "High Level" client. If you have the org.elasticsearch.client:e Elasticsearch, you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated host:port list. With injected like any other Spring bean, as shown in the following example: spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { private final ElasticsearchTemplate template;0 码力 | 708 页 | 660.77 KB | 1 年前3
Spring Boot 2.1.0.RELEASE Reference Documentation Elasticsearch by REST clients Elasticsearch ships two different REST clients that you can use to query a cluster: the "Low Level" client and the "High Level" client. If you have the org.elasticsearch.client:e Elasticsearch, you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated host:port list. With injected like any other Spring bean, as shown in the following example: spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { private final ElasticsearchTemplate template;0 码力 | 441 页 | 2.37 MB | 1 年前3
Spring Boot 2.1.0.RELEASE Reference DocumentationElasticsearch by REST clients Elasticsearch ships two different REST clients that you can use to query a cluster: the "Low Level" client and the "High Level" client. If you have the org.elasticsearch.client:e Elasticsearch, you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated host:port list. With injected like any other Spring bean, as shown in the following example: spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { private final ElasticsearchTemplate template;0 码力 | 691 页 | 654.55 KB | 1 年前3
Spring Boot 2.1.3.RELEASE Reference Documentation Elasticsearch by REST clients Elasticsearch ships two different REST clients that you can use to query a cluster: the "Low Level" client and the "High Level" client. If you have the org.elasticsearch.client:e Elasticsearch, you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated host:port list. With injected like any other Spring bean, as shown in the following example: spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean { private final ElasticsearchTemplate template;0 码力 | 442 页 | 2.38 MB | 1 年前3
共 245 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25













