Solr:将useCompoundFile设置为true对索引文件没有任何影响

时间:2012-07-17 19:37:23

标签: solr

在SolrConfig.xml中,我设置如下:

<useCompoundFile>true</useCompoundFile>

但是一旦我重新索引我的东西,我仍然会看到一堆索引文件,范围从_0 *到_9 *,而不是看到一个索引文件。

问题:

1. how to fix this?
2. if i update index at the run time, is it ok to use compound index then?

谢谢!

1 个答案:

答案 0 :(得分:1)

这些是段文件,请参阅here。这些并不意味着没有使用复合文件,请检查with this doc以确保。基本上在索引目录中查找.cfx文件。