我有一个查询,我想在单行中显示每条记录的总计数。我用的是Cassandra- lucene 指数。
$query = 'SELECT * FROM Table WHERE expr(my_index, \'{
filter: {
type: "boolean",
must: [
{type: "wildcard", field: "location", value: "*%s*"},
]
}
}\') limit 10; '
上面给出了10个结果,但我想得到每行的总数。
暂无答案!
目前还没有任何答案,快来回答吧!