摘要: Factory method 'elasticsearchClient' threw exception; nested exception is java.lang.IllegalStateException: availableProcessors is already set to [8], 阅读全文
posted @ 2020-06-04 22:22 林宇风 阅读(706) 评论(0) 推荐(0)
摘要: 环境: SpringBoot 2.1.4.RELEASE Elasticsearch 6.6.2 spring-boot-starter-data-elasticsearch pom引用 <dependency> <groupId>org.springframework.boot</groupId> 阅读全文
posted @ 2020-06-04 18:00 林宇风 阅读(784) 评论(0) 推荐(0)
摘要: es-head更新数据 POST /索引名/_doc/id { "field1": "new_value1", "field2": "new_value2" } 查询删除 POST /索引名/_delete_by_query { "query": { "match": { "formId": "yo 阅读全文
posted @ 2020-06-04 17:11 林宇风 阅读(214) 评论(0) 推荐(0)
摘要: 单节点安装 创建es.yml,内容如下: version: '3' services: elasticsearch: image: elasticsearch:6.6.2 container_name: elasticsearch environment: - cluster.name=elasti 阅读全文
posted @ 2020-06-04 16:45 林宇风 阅读(875) 评论(0) 推荐(0)
摘要: replace 语法: REPLACE ( string_expression , string_pattern , string_replacement ) 参数: string_expression 要搜索的字符串表达式。string_expression 可以是字符或二进制数据类型。 stri 阅读全文
posted @ 2020-06-04 09:09 林宇风 阅读(2882) 评论(0) 推荐(0)