Apache solr adding/editing/deleting records frequently

此生再无相见时 提交于 2019-12-06 11:32:22

It's very hard to tell without actually trying. However you need to know that Lucene and Solr currently don't support individual document updates (although there is some work in progress https://issues.apache.org/jira/browse/LUCENE-3837), meaning that you need to re-index the whole record even if you only updated a single field.

Moreover Lucene and Solr are much better at performing batch updates than single-document updates. To work around this, Solr has a nice commitWithin parameter that lets Solr group individual updates together to improve throughput.

You should take this number precautiously, but I often create indexes of millions of documents (~30 small fields) with a throughput of ~5000 docs/s on very conventional hardware.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!