cassandra-lucene-index
cassandra-lucene-index copied to clipboard
Custom index expressions cannot be used in WHERE clauses for UPDATE or DELETE statements
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*"},
]
}
}');