为什么我的Cassandra Lucene Index不返回所有结果? [英] Why does my Cassandra Lucene Index not return all results?

查看:251
本文介绍了为什么我的Cassandra Lucene Index不返回所有结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有2个查询,应该返回相同的结果。但第二个查询返回少得多的结果或有时没有结果。这两个查询:

We have 2 queries which should return the same result. But the 2nd query returns a lot less results or sometimes no results. These are the 2 queries:

SELECT * FROM statistics WHERE source = 'toutiao' AND timespan = '3';
SELECT * FROM statistics WHERE source = 'toutiao' AND timespan = '3' AND text = '{ sort: {fields: [{field: "speed", reverse: true}]}}';.

我们使用此自定义cassandra索引 https://github.com/Stratio/cassandra-lucene-index

We use this custom cassandra index https://github.com/Stratio/cassandra-lucene-index.

否则有更好的替代品吗?

Otherwise do you have better alternatives?

谢谢您的帮助!

推荐答案


否则你有更好的替代品吗?

Otherwise do you have better alternatives?

Cassandra Apache Solr 称为 DSE搜索 。但显然它不是免费的

There is an integration of Cassandra with Apache Solr called DSE Search. But obviously it's not free

除了Stratio Lucene索引实现,我知道的唯一其他现有的开源Lucene索引是 Stargate Core 。我不知道它是成熟还是生产就绪,他们的github似乎很空闲(最后提交= 2015年10月)

Other than the Stratio Lucene index implementation, the only other existing open-source Lucene index impl I know is Stargate Core. I'm not sure if it's mature or production-ready, their github seems quite idle (last commit = October 2015)

这篇关于为什么我的Cassandra Lucene Index不返回所有结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆