
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 · 2047 阅读 · 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 · 244 阅读 · 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 · 445 阅读 · 0 评论