solr - 从 Datastax Solr 中删除核心

标签 solr cassandra core

我有一个 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/

相关文章:

Cassandra 错误处理

java - 我们如何编辑 Java 内置类,例如 Java.util.Scanner?

apache - Solr 1.4和Solr 3.4有什么区别

indexing - 防止项目的空语言版本被编入索引

solr - 使用apache solr进行同义词搜索

multithreading - 我如何知道/查看线程在哪个内核上运行? (在Win XP中)

node.js - 调试nodejs应用程序生成的核心文件

java - 如何在 @Query Solr 搜索中传递/设置 "start"和 "rows"参数

scala - Cassandra 连接器 Apache Spark : local class incompatible

ssl - 在 Cassandra 上使用单个证书进行节点间加密