Stratio/cassandra-lucene-index

Custom index expressions cannot be used in WHERE clauses for UPDATE or DELETE statements

didip opened this issue · 0 comments

didip commented

Hi folks,

Is it possible to perform UPDATE or DELETE using Lucene JSON DSL?

Example:

DELETE FROM my_ks.my_table WHERE expr(my_index, '{
   filter: {
      type: "boolean",
      must: [
        {type: "wildcard", field: "id", value: "1*"},
        {type: "wildcard", field: "id", value: "2*"},
      ]
   }
}');