Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Solr 解决方案:将UseCompondFile设置为true不会';对索引文件没有任何影响_Solr - Fatal编程技术网

Solr 解决方案:将UseCompondFile设置为true不会';对索引文件没有任何影响

Solr 解决方案:将UseCompondFile设置为true不会';对索引文件没有任何影响,solr,Solr,在SolrConfig.xml中,我设置如下: <useCompoundFile>true</useCompoundFile> 谢谢 这些是段文件,请参见。这并不意味着没有使用复合文件,请检查以确保。基本上是在索引目录中查找.cfx文件。谢谢柿子。问题是我有多个*.fdt、*.fdx、*.fnm、*.frq、*.nrm、*.prx、*.tii和*.tis文件,共8组;我只有一个*.cfs文件。我不知道这些是否可以减少到只有一组。 1. how to fix this?

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

<useCompoundFile>true</useCompoundFile>

谢谢

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

谢谢柿子。问题是我有多个*.fdt、*.fdx、*.fnm、*.frq、*.nrm、*.prx、*.tii和*.tis文件,共8组;我只有一个*.cfs文件。我不知道这些是否可以减少到只有一组。
1. how to fix this?
2. if i update index at the run time, is it ok to use compound index then?