Indexing solr 5.1删除的文档合并因子和优化
我在一个独立的机器(Linux虚拟机)上使用Solr5.1 我的设想是:-我每天使用solrnet索引大约1000万个文档,而1000个文档分布在一天中,其余900多万个文档在特定时间完成,索引大约需要4-5个小时 每个文档的大小约为6KB,虚拟机的物理内存为110GB。 Solr JVM配置为30GB 合并因子仍然是5.1的有效设置吗?我读过一些文章,认为它现在已经过时了? 我应该使用MMapfactory吗?现在它是NRTCachingDirectoryFactory 我在所有这些设置中面临的问题是Indexing solr 5.1删除的文档合并因子和优化,indexing,solr,Indexing,Solr,我在一个独立的机器(Linux虚拟机)上使用Solr5.1 我的设想是:-我每天使用solrnet索引大约1000万个文档,而1000个文档分布在一天中,其余900多万个文档在特定时间完成,索引大约需要4-5个小时 每个文档的大小约为6KB,虚拟机的物理内存为110GB。 Solr JVM配置为30GB 合并因子仍然是5.1的有效设置吗?我读过一些文章,认为它现在已经过时了? 我应该使用MMapfactory吗?现在它是NRTCachingDirectoryFactory 我在所有这些设置中面临
a) Time outs some times(Get and Post)
b) Deleted docs not getting removed
下面是一些用于改进查询时间和索引时间的solrconfig设置
<ramBufferSizeMB>2048</ramBufferSizeMB>
<maxBufferedDocs>2048</maxBufferedDocs>
<mergeFactor>20</mergeFactor>
<autoCommit>
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
<openSearcher>false</openSearcher>
</autoCommit>
<autoSoftCommit>
<maxTime>${solr.autoSoftCommit.maxTime:1800000}</maxTime>
<maxDocs>${solr.autoSoftCommit.maxDocs:500000}</maxDocs>
</autoSoftCommit>
<directoryFactory name="DirectoryFactory"
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}">
<queryResultWindowSize>50</queryResultWindowSize>
<!-- Maximum number of documents to cache for any entry in the
queryResultCache.
-->
<queryResultMaxDocsCached>50</queryResultMaxDocsCached>
<filterCache class="solr.FastLRUCache" size="512" initialSize="512"
autowarmCount="0"/>
<queryResultCache class="solr.LRUCache" size="2048"
initialSize="512" autowarmCount="0"/>
<documentCache class="solr.LRUCache" size="2048" initialSize="512"
autowarmCount="0"/>
2048
2048
20
${solr.autoCommit.maxTime:15000}
假的
${solr.autoSoftCommit.maxTime:1800000}
${solr.autoSoftCommit.maxDocs:500000}
50
50
请找人帮忙好吗