Sitemap

Friday, June 19, 2015

UCM: Running indexer from the command line

First make sure that stand alone applets are working. If not working, please check Note 1265076.1. Basically first its resetting the password of sysadmin user like
UPDATE USERS SET DPASSWORD='welcome1' WHERE DNAME='sysadmin';
UPDATE USERS SET DPASSWORDENCODING='' WHERE DNAME='sysadmin';

and then setting the JDBC connection in the System Properties application.

Create indexer.hda. This is the data that needs to be present in the file:
<?hda version="5.1.1 (build011203)" jcharset=Cp1252 encoding=iso-8859-1?>
#Full Collection Rebuild
@Properties LocalData
IdcService=CONTROL_SEARCH_INDEX
cycleID=rebuild
action=start
getStatus=1
fastRebuild=0
GetCurrentIndexingStatus=1
PerformProcessConversion=1
@end
<<EOF>>

Run the following command
IdcCommand -f C:\Work\indexer.hda -u sysadmin -l C:\Work\indexer.log

NOTE: To perform a "fast" rebuild instead of a "full" collection rebuild, set fastRebuild=1 in the HDA file

NOTE: If you receive Error: Executing 'CONTROL_SEARCH_INDEX command, then make the following entry in intradoc.cfg file
IdcCommandServerHost=10.141.107.1 or IdcCommandServerHost=localhost

No comments:

Post a Comment