【问题标题】:Solr: do we need commit=true query when we have autoCommit in SolrConfig?Solr:当我们在 SolrConfig 中有 autoCommit 时,我们是否需要 commit=true 查询?
【发布时间】:2019-01-26 09:53:17
【问题描述】:

我是 Solr 的新手,当我们在 SolrConfig 中有 autoCommit 时,我不确定在推送查询中是否需要 commit=true ???

这是关于 autoCommit 的 QA,它部分帮助我理解 autoCommit:

Choosing a solr/lucene commit strategy

但是现在需要澄清一下,对于这部分。

【问题讨论】:

    标签: solr


    【解决方案1】:

    如果你想确保你的更新比 solrconfig.xml 中的自动提交更快地被接收,你需要它。如果你没有紧迫感,就不要。

    另外请注意,您可以使用不像 commit=true 那样激进的 commitWithin=X

    【讨论】:

      猜你喜欢
      • 2022-11-14
      • 2020-08-22
      • 2020-10-13
      • 2012-03-14
      • 2023-01-24
      • 2012-07-12
      • 2011-02-21
      • 1970-01-01
      • 2020-03-23
      相关资源
      最近更新 更多