在DSE v5.0.4上的Datastax(here)上创建SASI创建文档后,产生错误:
cqlsh:sandbox> SHOW VERSION
[cqlsh 5.0.1 | Cassandra 3.0.10.1443 | DSE 5.0.4 | CQL spec 3.4.0 | Native protocol v4]
cqlsh:sandbox> CREATE CUSTOM INDEX "sandboxTestIdx" on test (bop) USING 'org.apache.cassandra.index.sasi.SASIIndex';
ConfigurationException: Unable to find custom indexer class 'org.apache.cassandra.index.sasi.SASIIndex'
深入研究SASI表明,它只能开箱即用'开箱即用'对于过去3.4的Cassandra版本,所以我的问题是,如何为最新版本的DSE(v5.0.4)添加SASI支持?
答案 0 :(得分:3)
除非datastax发布使用cassandra 3.4或更高版本的新版本,否则我认为你无法做到。
或者你可以使用下载最新版本的支持SASI的cassandra但是你没有得到DSE功能。