
110 WebSphere Commerce V7.0 Feature Pack 2 Search Solution Overview and Deployment
Also, on the Commerce server, you can enable tracing for the search. See Example 5-8 on
page 110.
Example 5-8 Search trace string
com.ibm.commerce.search.*=all: com.ibm.commerce.foundation.*=all
This trace prints to the trace.log file in your Commerce server, in the directory:
<App server install dir>/profiles/<profile_name>/logs/server1
Example 5-9 shows the fully constructed search query for jeans on the Commerce server,
before it is sent to Solr. When looking through the trace, search for Final Solr query
expression.
Example 5-9 Search tracing on the Commerce side ...