RE: SASI and secondary index simultaniously

2017-07-12 Thread Jacques-Henri Berthemet
Hi, According to SASI source code (3.11.0) it will always have priority over regular secondary index: https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/index/sasi/SASIIndex.java#L234 public long getEstimatedResultRows() { // this is temporary (

Re: SASI and secondary index simultaniously

2017-07-12 Thread DuyHai Doan
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