cassandra.apache.org
Subject: SASI and secondary index simultaniously
Hi,
it's possible to create both regular secondary index and SASI on the same
column:
CREATE TABLE ks.tb (id int PRIMARY KEY, name text);
CREATE CUSTOM INDEX tb_name_idx_1 ON ks.tb (name) USING
'org.apache.cassandra.index.sasi
In the original source code Sasi will be chosen instead of secondary index
Le 12 juil. 2017 09:13, "Vlad" a écrit :
> Hi,
>
> it's possible to create both regular secondary index and SASI on the same
> column:
>
>
>
>
> *CREATE TABLE ks.tb (id int PRIMARY KEY, name text);CREATE CUSTOM INDEX
> t
Hi,
it's possible to create both regular secondary index and SASI on the same
column:
CREATE TABLE ks.tb (id int PRIMARY KEY, name text);
CREATE CUSTOM INDEX tb_name_idx_1 ON ks.tb (name) USING
'org.apache.cassandra.index.sasi.SASIIndex';
CREATE INDEX tb_name_idx ON ks.tb (name);
But which one