Pre-requests: you need to have V7 FEP2+.
IBM WCS is now a fully operational search engine. the product now includes Lucene Solr as the interal search engine, also incorporates industry best practices.
Once you get the latest database, follow these steps to re-index the products.
IBM WCS is now a fully operational search engine. the product now includes Lucene Solr as the interal search engine, also incorporates industry best practices.
Once you get the latest database, follow these steps to re-index the products.
- Install "WebSphere Commerce Developer Enterprise" version 7
- Update "WebSphere Commerce Developer Enterprise" to version 7.0.0.5
- Stop Server
- Enable the Store Enhancement Features
- cd WCDE_installdir\bin
- enableFeature.bat -DfeatureName=store-enhancements
- Publish the Madisons Feature Pack Store Archive:
- Publish Madisons-FEP.sar
- Enable the Solr foundation
- cd WCDE_installdir\bin
- enableFeature.bat -DfeatureName=foundation [DsolrHome=C:\IBM\WCDE_ENT70\search\solr\home]
- Setup the Search Index: (WC Server must be Stoped)
- cd 'WCDE_installdir'\components\foundation\subcomponents\search\bin
- setupSearchIndex.bat -masterCatalogId 10001 -instance WCDE_ENT70 -dbuser db2admin -dbuserpwd db2admin [-solrhome C:\IBM\WCDE_ENT70\search\solr\home]
- To see log file : \WCDE_ENT70\components\foundation\subcomponents\search\log\wc-search-index-setup.log
- Once successfully completed the status code could be : Program exiting with exit code: 0
- Preprocess the Search index: (Run the di-preprocess.bat file against the search index, again server stopped at this point)
- cd WCDE_installdir\bin
- di-preprocess.bat C:\IBM\WCDE_ENT70\search\pre-processConfig\MC_10001\DB2\ [-fullbuild true] [-localename en_US]
- Test the current Solr index to ensure that a request can be recognized: (Server should be started)
- http://host_name/solr/Default/select?q=*%3A*
- Build out the index (first make sure to start the WC server):
- cd WCDE_installdir\bin
- di-buildindex.bat -masterCatalogId 10001
- Test the indexed Solr index to ensure results are returning:
- http://localhost/solr/MC_10001_CatalogEntry_en_US/select?q=catentry_id:10251
- Enable the store to display the search breadcrumb and faceting filters:
- Open Management Center
- Click "Management Center Tools" menu and select "Store Management"
- Select the "Madisons" store and click the "Catalog" tab
- check "Search-based navigation"
- click Save
- Test live on the starter store:
- http://localhost/webapp/wcs/stores/servlet/Madisons/index.jsp
- http://localhost/webapp/wcs/stores/servlet/en/eliteesite/home