Demonstrating an Industry Standard Search Solution
IBM WebSphere Commerce is now a fully operational search engine.
The product now includes Lucene Solr (http://lucene.apache.org/solr/) as the internal search engine, thus not only leveraging open standards, also incorporates industry best practices.
With that, you will probably benefit to enable the IBM WebSphere Commerce search capability in a starter store, so that you can get a good idea what is available out-of-the-box with the product.
Here is a link to the IBM WebSphere Commerce information center documentation regarding WebSphere Commerce search:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/concepts/csdsearch.htm
At a high level, WebSphere Commerce search provides the following key business benefits:
- It is built on the top of open architecture.
- It contains a rich set of search functionality for shoppers in starter stores.
- It provides integrated search management tooling for business users in the Management Center.
- It lowers the total cost of deployment and ownership, since its functionality is included as a feature of WebSphere Commerce.
In regards to starter stores, here is a link to the IBM WebSphere Commerce information center to summarize what is available-to-market in the product:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.starterstores.doc/concepts/csmsearch.htm
This blog entry covers the steps required to enable search for a starter store.
This is where you should start to understand how to setup search for a starer store:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.starterstores.doc/refs/rsdfepfeatroadmap.htm
As a side note to this link, I was only able to install Feature Pack 2, due to limited resource access, but I still brought IBM WebSphere Commerce up to Fix Pack level 5 (WCS v7.0.0.5).
The following list of steps is the procedure that I took in order to enable a fully integrated search solution into a demonstrable starter store:
- Install "WebSphere Commerce Developer Enterprise" version 7
- Update "WebSphere Commerce Developer Enterprise" to version 7.0.0.5
- Install "Feature Pack 2" (preferably feature pack 3 or higher)
- 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:
- 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]
- Preprocess the Search index:
- 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:
- http://host_name/solr/Default/select?q=*%3A*
- Build out the index (first make sure to start the test server in toolkit):
- 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/Elite/index.jsp
Hello,
ReplyDeleteI try to activate solr but when i restart websphere commerce server i have error causesd by : java.lang.OutOfMemoryError.
I update the value to 1024 but it was the same .
have you an idea?
IH
You can increase the heap size to 1536 on toolkit so goto WAS admin console
ReplyDeleteIn the administrative console, click Servers > Server Types > WebSphere application servers, and then click on an application server name.
In the Server Infrastructure section, click Java and process management > Process definition.
There are a lot of management system out in the market but not all have all the features of the other software.
ReplyDeleteHelp me understand why do we need a webserver and also an appserver to run WebSphere Commerce Search? SOLR standalone can run on a Tomcat....why with WC Search web and app server both needed?
ReplyDeletehttp://techhari.blogspot.com/2012/05/enabling-solr-search-engine-for.html#
ReplyDelete