Configuration files to remove during an upgrade
When importing configuration into the DXP certain configuration files can be removed.
The following configuration files are created by the system during updates and can be removed. If you attempt to import any of these files via WebDAV you will receive an error.
-
crawl_scheduler.cfg
-
collection.state
-
secondary-collection.cfg
-
secondary-start-urls.cfg
The following old configuration files should be converted / removed:
-
Any file with a
.form
extension -
any graphics/css/html file that is not included in the profiles web resources folder. If a profile has a service.thumbnail key set to a image file this should be removed, the image file located and uploaded as the result page’s thumbnail from the administration dashboard.
-
Any
.groovy
,.sh
,.pl
,.php
,.py
file. The custom logic within these files must be replaced if used. -
any auto completion CSV file that is generated by the update.
-
Any backup file - with a
.bak
extension, or containing a datestamp-XXXXXXXXXXX.cfg
e.g.kill_exact-201806231010.cfg
-
best_bets.cfg
- this is an old format best bets configuration file. Any rules contained within the file should be set up using the best bets UI in the administration dashboard, or converted into curator.json rules using the converter tool. -
collection.cfg.start_urls
- if empty remove this file. -
contextual_navigation.cfg
- this file was removed in v16. Configuration contained within the file should be merged intocollection.cfg
/profile.cfg
(should be automatically done by the upgrade utility). -
extra_search.*.cfg
- this file was removed in v16. Configuration contained within the file should be merged intocollection.cfg
/profile.cfg
(should be automatically done by the upgrade utility). -
form_interaction.cfg
- this file was removed in v16. Configuration contained within the file should be merged intocollection.cfg
/profile.cfg
(should be automatically done by the upgrade utility). -
meta.cfg
- this file was removed in v16. Configuration contained within the file should be merged intocollection.cfg
/profile.cfg
(should be automatically done by the upgrade utility). -
quicklinks.cfg
- this file was removed in v16. Configuration contained within the file should be merged intocollection.cfg
/profile.cfg
if it contains a keyquicklinks=enabled
(should be automatically done by the upgrade utility). -
metamap.cfg
- this file contains legacy metadata mappings. Can be deleted if there is ametadata-mappings.cfg
file. Upgrade utility should automatically convert this if there isn’t an updatedmetadata-mappings.cfg
-
xml.cfg
- this file contains legacy metadata mappings. Can be deleted if there is axml-index.cfg
file. Upgrade utility should automatically convert this if there isn’t an updatedxml-index.cfg
-
faceted_navigation.cfg
if contained in a collection level configuration folder. This file should exist in profile/results page folders. -
padre_opts.cfg
- this should only exist in profile folders. Remove this file if the profile includes aprofile.cfg
with aquery_processor_options
key. If there is noprofile.cfg
or theprofile.cfg
doesn’t contain aquery_processor_options
key then you need to copy anyquery_processor_options
from the parent search package’scollection.cfg
into theprofile.cfg
, and then merge the values frompadre_opts.cfg
. Any option that is set in bothpadre_opts.cfg
andcollection.cfg
should set the value from thepadre_opts.cfg
.
Other configuration files you might come across that can be deleted:
-
query-spike-word-list.cfg
,query-word-list.cfg
andquery-zero-word-list.cfg
- these files can be deleted.