![](https://img-blog.csdnimg.cn/510e7d4b536b4a76891cb8a290304bd7.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
ElasticSearch
ElasticSearch
一方湖泊
静下心来做一件事
展开
-
Fielddata is disabled on text fields by default. Set fielddata=true on [catalogName] in order......
问题:"Fielddata is disabled on text fields by default. Set fielddata=true on [catalogName] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead原创 2022-05-29 03:57:13 · 1958 阅读 · 0 评论 -
“reason“: “index [gulimall_product] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
解决:PUT /gulimall_product/_settings{ "index.blocks.read_only_allow_delete": null}参考:官网博客1博客2原创 2022-05-29 03:25:32 · 204 阅读 · 0 评论 -
Caused by: java.lang.NoClassDefFoundError:/cluster/repositories/cleanup/CleanupRepositoryRequest
报错:猜想:因为只导入了导入es的 rest-high-level-client依赖,所以报错了。Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/action/admin/cluster/repositories/cleanup/CleanupRepositoryRequest at org.elasticsearch.client.RestHighLevelClient.<init>(RestHighLevelCl原创 2022-01-16 15:50:33 · 394 阅读 · 0 评论