Running Collection Rebuild from Command Line [Oracle WebCenter Content]

As Oracle says The IdcCommand utility is a standalone Java application that executes Content Server services. For running this utility we need to provide a command file which will contains the specific tasks list and parameter needed to perform.

Below example will provide the steps for rebuilding the search collection by calling the CONTROL_SEARCH_INDEX service. [Service that updates or rebuilds the search index. Updates and rebuilds are performed automatically in a background thread.]

In case if we want to call fast collection rebuild first we need to create a file (test.hda ) like this –

@Properties LocalData

After that we need to fire following command –

IdcCommand -f test.hda -u sysadmin -l test.log -c server

Before running this make sure you have added this entry in intradoc.cfg file-


In quest of understanding How Systems Work !

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store