gpt4 book ai didi

solr - 从 Datastax Solr 中删除核心

转载 作者:行者123 更新时间:2023-12-04 14:11:11 25 4
gpt4 key购买 nike

我有一个 Cassandra我已启用的表 Solr索引,使用命令
dsetool create_core <keyspace>.<table> [<option> ...]
问题是如何删除这个核心?

我试过 unload通过 HTTP Api返回 UNLOAD unsupported!

最佳答案

更新,

unload_core 现在从 DSE 4.8 开始可用 -- DSP-1533

逐字来自 DataStax docs

Unloading a Solr core To disable full text search on a core, unload the core without removing its backing table.

To simplify Solr code unloading, use dsetool unload_core. The syntax of the command is:

$ dsetool unload_core . [ ...] where is one or more of the following options: Option Settings Default Description of default setting deleteDataDir= true or false false Retains the underlying Cassandra data. deleteResources= true or false false Retains the core configuration and schema resources. distributed= true or false true Deletes resources and data across the cluster. The distributed option governs the removal of data and resources. The Solr secondary indexes on the backing table are removed through Cassandra schema propagation even if distributed=false. Note: If one or more nodes fail to unload the core in distributed operations, an error message indicates the failing node or nodes. Issue the unload again.

关于solr - 从 Datastax Solr 中删除核心,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32457456/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com