Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
@索引不使用spring数据cassandra_Spring_Cassandra_Indexed - Fatal编程技术网

@索引不使用spring数据cassandra

@索引不使用spring数据cassandra,spring,cassandra,indexed,Spring,Cassandra,Indexed,我试图使用@index在使用spring数据cassandra的字段上创建二级索引。但在字段上查询时,它抛出异常受限制列上的二级索引不支持提供的运算符: 型号: @Indexed(value = "bar") private String bar; 查询: @Query("select * from foo where bar = ?0 allow filtering") 这是一个最近修复的问题 看起来升级到最新版本将为您提供所需的功能。同样的问题,有消息吗?我浏览了一段datasta

我试图使用
@index
在使用spring数据cassandra的字段上创建二级索引。但在字段上查询时,它抛出异常受限制列上的二级索引不支持提供的运算符:

型号:

 @Indexed(value = "bar")
 private String bar;
查询:

@Query("select * from foo where bar = ?0 allow filtering")

这是一个最近修复的问题


看起来升级到最新版本将为您提供所需的功能。

同样的问题,有消息吗?我浏览了一段datastax视频,发现@Indexed尚不受支持。临时解决方法是通过编写查询来创建索引。