SOlr configuration steps
The Following Steps should be followed to configure (Commands are case-sensitive)
1 Stop the server
2 Go To Db2Console/CMD Prompt then click on the database and search for the store table and check the STORE_ID (DEFAULT IS 10001)
3 Then go to DB2CMD or CMD
4 Go to path "C:\IBM\WCDE_ENT70\components\foundation\subcomponents\search\bin"
5 And Run the following command(Without Quotes)
"setupSearchIndex.bat -masterCatalogId 10001"
6 10001 is the STORE_ID
7 Start the Server now
8 Now again go to the path "C:\IBM\WCDE_ENT70\bin"
9 Execute the command (Without Quotes)
"di-preprocess.bat c:\IBM\WCDE_ENT70\search\pre-
processConfig\MC_10001\DB2"
10 Execute the command (Without Quotes)
"di-buildindex.bat -masterCatalogId 10001"
Note:
The exit code should be '0' for both the Commands or Batch processes... If the Exit code is '3' then Re-Run the command with the parameter "-force true" which means run this forcebily even if there is any other scheduled Preprocess/buildindex is running. Refer the below links for more information.
Preprocessing:
http://www.ibm.com/support/knowledgecenter/SSZLC2_8.0.0/com.ibm.commerce.search.doc/tasks/tsdsearchbuildpre.htm
BuildIndex:
http://www.ibm.com/support/knowledgecenter/en/SSZLC2_8.0.0/com.ibm.commerce.search.doc/tasks/tsdsearchbuildindex.htm
Cheers!!!! You have completed the Preprocessing and Reindexing.
Sharing is Caring!!!!