Question & Answer
Question
I add documents into a collection by importing CSV files in the Administration console. I want to import CSV file having new or updated records only. However, existing but un-updated records in the collection disappear after I import the CSV file. I do not want to remove existing records. How can I import new or updated records only?
Answer
To import CSV file incrementally:
- Open ES_NODE_ROOT/master_config/importer/config.properties with a text editor
- Locate the following line
removeOldSpaceBeforeImport=true
- Change it from true to false and save changes
- Restart ICA server with the following command
esadmin system stop
esadmin system start
- Ensure that you specify the same Import Space ID whenever importing CSV file with Administration console
Note: Once you set removeOldSpaceBeforeImport=false, the existing documents in the index will not be deleted automatically. Therefore, you need to delete the unnecessary documents manually if needed. To remove it, you can use CSV File Import History or Remove URIs from the Index on Administration console.
Related Information
[{"Product":{"code":"SS5RWK","label":"Content Analytics with Enterprise Search"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"3.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21641564