When I develop a new feature need use facets as a query condition to search in solr engine.The first development took two days to develop and there were some problems, the second time I found another way to spend only half a day and no problem. It means I waste 1.5 days. So I put it here.
The feature is that we hope quickly find out products meet coupon conditions, meanwhile we should reuse the products list page and keeping the funcation in pdp page is work well. This case contain two parts to do.
- The first step is add new field chinesecoupon to product index in solr engines.
- The second step in hybris storefront to get result in solr engines.
My problem occurred in the second step, I add a new controller to handle the request, but ProductSearchService has provided this method. we understand the use of this is method not enough depth.
This is the main body of your WIKI Page where you talk through the system logic or behavior you are explaining. Use pictures to emphasize the points you are trying to make or to illustrate the transactions/selection screens/reports etc.
Same as the first section, this is also part of the main body of the WIKI. You can add as many sections as you require to make the information you are explaining as clear and simple to follow as possible.
Insert SAP Help links or other WIKI content link.
Please hyperlink the title of the related document
Example: Explanation about how to create a WIKI page
Insert links to any related SAP Notes/KBAs that support your topic or are related. Please hyperlink ONLY SAP Note or KBA number.
SAP Note 83020: What is consulting, what is support
SAP KBA 12345: This is an example KBA link
(Use the following Hyperlink with SAP Note/KBA number at end: https://launchpad.support.sap.com/#/notes/123456)
Use this structure to help you compose your contributions for WIKI and at the same time will ensure spelling and grammar.