I am trying to use @Indexedto create a secondary index in a field using spring data cassandra. But when querying in a field, this exception is thrown. No secondary indexes in restricted columns support the provided operators:
Model:
@Indexed(value = "bar")
private String bar;
Query:
@Query("select * from foo where bar = ?0 allow filtering")
source
share