【问题标题】:Using DSE Search from CQL on Thrift Error在 Thrift 错误中使用 CQL 中的 DSE 搜索
【发布时间】:2015-02-03 19:34:12
【问题描述】:

我收到以下警告,它淹没了我的 cassandra 日志:

WARN [ReadStage:26] 2014-12-04 08:35:33,158 ThriftSolrSecondaryIndexSearcher.java (line 28) Running Solr queries on Thrift tables is discouraged and not supported for production environments!

我知道我们的一些代码中有 solr_query,这是否意味着我们需要将表升级到 cql?

使用:DSE 4.6

【问题讨论】:

    标签: solr datastax-enterprise datastax


    【解决方案1】:

    事实证明,只有在使用 thrift rpc 或 cql2(即 hector、cassandra-cli 等)使用 DSE 搜索语法 (solr_query) 访问 cassandra 时,您才应该收到此警告。如果您使用其中一种 DataStax 驱动程序,您将不会收到错误消息(即使表是 COMPACT STORAGE)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-01
      • 2016-12-07
      • 2020-09-18
      • 2013-03-09
      • 2020-12-20
      • 2020-07-28
      • 2023-04-04
      • 1970-01-01
      相关资源
      最近更新 更多