Task Summary :Task is to provide product search functionality on the set of content fragments. Content fragment stores the product data with fields like Product Name, Product Created By, Product Description and Product Image.
Task Design Details : One Simple Search form to be created using AEM Form core components with one text field for search text, one drop down field which support two dropdown values , one for product name field and other for product created by field. The search form will invoke a servlet which will search the data using a query from the set of content fragments and as per the user search text input and selected dropdown value. Please extend the Adobe core component / model wherever required to customize the functionality to invoke a servlet. Servlet shall return a JSON response which will contain product description and product image path from DAM.The product description and image from JSON response shall be shown as a result on the same page. Also write down JUNIT class for the servlet with at least 70% coverage. Please create the sample search page using the editable templates. Please configure at least 4 different test product content fragments.