Hi, I am unable to create compound Index format in 3.6.1 inspite of setting <useCompoundFile> as true. I do not see any .cfs file ,instead all the .fdx,frq etc are seen and I see the segments_8 even though the mergefactor is at 4 . Should I not see only 4 segment files at any time?
Please find attached schema and let me know if I have missed anything. Regards, Sujatha
<?xml version="1.0" encoding="UTF-8" ?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <config> <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError> <luceneMatchVersion>LUCENE_36</luceneMatchVersion> <!-- The DirectoryFactory to use for indexes. solr.StandardDirectoryFactory, the default, is filesystem based. solr.RAMDirectoryFactory is memory based, not persistent, and doesn't work with replication. --> <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/> <indexConfig> <!-- Values here affect all index writers and act as a default unless overridden. --> <maxFieldLength>10000</maxFieldLength> <writeLockTimeout>1000</writeLockTimeout> <useCompoundFile>true</useCompoundFile> <mergeFactor>4</mergeFactor> <lockType>single</lockType> </indexConfig> <jmx /> <updateHandler class="solr.DirectUpdateHandler2" /> <query> <maxBooleanClauses>100000</maxBooleanClauses> <filterCache class="solr.FastLRUCache" size="16384" initialSize="4096" autowarmCount="4096"/> <queryResultCache class="solr.LRUCache" size="16384" initialSize="4096" autowarmCount="1024"/> <documentCache class="solr.LRUCache" size="16384" initialSize="4096" autowarmCount="0"/> <enableLazyFieldLoading>true</enableLazyFieldLoading> <useFilterForSortedQuery>true</useFilterForSortedQuery> <queryResultWindowSize>50</queryResultWindowSize> <queryResultMaxDocsCached>200</queryResultMaxDocsCached> <HashDocSet maxSize="3000" loadFactor="0.75"/> <!-- <listener event="newSearcher" class="solr.QuerySenderListener"> <arr name="queries">--> <!-- <lst><str name="q">solr</str><str name="sort">price asc</str></lst> <lst><str name="q">rocks</str><str name="sort">weight asc</str></lst> --> <!-- </arr> </listener> --> <!-- <listener event="firstSearcher" class="solr.QuerySenderListener"> <arr name="queries"> <lst> --> <!-- <str name="q">static firstSearcher warming in solrconfig.xml</str> --> <!-- </lst> </arr> </listener>--> <useColdSearcher>false</useColdSearcher> <maxWarmingSearchers>2</maxWarmingSearchers> </query> <requestDispatcher handleSelect="true" > <requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" /> <httpCaching lastModifiedFrom="openTime" etagSeed="Solr"> </httpCaching> </requestDispatcher> <requestHandler name="standard" class="solr.SearchHandler" default="true"> <!-- default values for query parameters --> <lst name="defaults"> <str name="echoParams">explicit</str> <!-- <int name="rows">10</int> <str name="fl">*</str> <str name="version">2.1</str> --> </lst> </requestHandler> <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" /> <requestHandler name="/analysis" class="solr.AnalysisRequestHandler" /> <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" /> <requestHandler name="/admin/ping" class="PingRequestHandler"> <lst name="defaults"> <str name="qt">standard</str> <str name="q">solrpingquery</str> <str name="echoParams">all</str> </lst> </requestHandler> <!-- Echo the request contents back to the client --> <requestHandler name="/debug/dump" class="solr.DumpRequestHandler" > <lst name="defaults"> <str name="echoParams">explicit</str> <!-- for all params (including the default etc) use: 'all' --> <str name="echoHandler">true</str> </lst> </requestHandler> <queryResponseWriter name="php" class="org.apache.solr.request.PHPResponseWriter"/> <queryResponseWriter name="phps" class="org.apache.solr.request.PHPSerializedResponseWriter"/> <queryResponseWriter name="xslt" class="org.apache.solr.request.XSLTResponseWriter"> <int name="xsltCacheLifetimeSeconds">5</int> </queryResponseWriter> <!-- config for the admin interface --> <admin> <defaultQuery>solr</defaultQuery> </admin> </config>