Skip to main content

ATG Search - how to define the search configuration rules

ATG Search configuration rules are specified through the ATG BCC Merchandising UI. Over here you could specify the below set of rules
  1. Redirection rules --> If you want to redirect to another page other than the search result page for a search keyword
  2. Property Prioritization rules  --> Prioritize certain set of properties and give weightage
  3. Result exclusion rules  --> Exclude certain search results
  4. Result positioning rules  --> Position / Sort the search result data




1.  To create the search configuration tree, you need to log-in to the ATG BCC Merchandising UI and select the Search Configuration Tree in the Browse tab drop down. Now need to click the Create button and first you need to create the Search Configuration Folder.


2.  When you create the folder, give the name of the folder and select whether the contents vary by Language or Segment. If your ecommerce site need to support more than one language and you need to configure different locale specific rules, please select the contents vary by Language option.


3.  After you create the folder, you could click the create the Search Configuration button and specify the Name and the Locale. These locale values are populated in the drop down from the component /atg/search/config/LanguageDimensionService



4. Once you create the Search Configuration,  you can add different rules like Redirection, Result Exclusion,...


Below you could find the screen shot of a sample Result Exclusion rule for the searches with search keyword contains all of the words baby.


Below you could find the screen shot of a sample Result Positioning rule for the searches with search keyword contains all of the words tv.





Comments

  1. Sony kindly post some more example on Result Positioning rule to understand How it works.

    ReplyDelete
  2. Sorry, I don't have the Search set up now. The result positioning is pretty straight forward and all the matching results will be positioned at the top. If you have any specific queries, please ask.

    ReplyDelete
  3. Hi Sony,

    Need some help. I have successfully configured search rules in /atg/bcc and deployed.
    But on commerce site if I search with that keyword it is not redirecting.
    Any specific reasons.
    Please refer this link to understand the problem better...
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2423279


    Thanks in Advance.

    ReplyDelete
  4. ATG out of box SearchFormHandler and droplets have an autoRedirect property that specifies whether the form handler should check the search results for a redirect URL or not. Check this

    ReplyDelete
  5. How do I add another keyword that associates with the same one for example "Sharkbite" pull up search results but when entered in "shark bite" separately no results found. I would like to know how to add a word differentiation and make it live.

    ReplyDelete
  6. If you want to get the results of some other word, you can use the dictionary and give some synonyms. Also give "mode=AND" in the request attributes.

    ReplyDelete

Post a Comment

Popular posts from this blog

Google Chrome shortcut keys

If you are a Google Chromey guy, please find below the list of shortcut keys for some of the most used features  :-) Find more shortcut keys @  http://www.google.com/support/chrome/bin/static.py?page=guide.cs&guide=25799&topic=28650

Eclipse plug-in to create Class and Sequence diagrams

ModelGoon is an Eclipse plug-in avaiable for UML diagram generation from Java code. It can be used to generate Package Dependencies Diagram, Class Diagram, Interaction Diagram and Sequence Diagram. You coud get it from http://marketplace.eclipse.org/content/modelgoon-uml4java Read more about it and see some vedios about how to create the class and sequence diagram @ http://www.modelgoon.org/?tag=eclipse-plugin Find some snapshots below which gives an idea about the diagram generation.

ATG Search architectural flow : Search and Index

I would like to explain the high level ATG Search implementation architecture ( for an online store) through the above diagram. In this diagram 1.x denotes the search functionality and 2.x denotes the indexing functionality. I have given JBoss as the application server. Physical Boxes and Application Servers in the diagram ( as recommended by ATG )  : Estore ( Commerce ) Box --> The box with the estore/site ear (with the site JSPs and Java codes). Search Engine Box --> The box with the search engine application running. Indexing Engine Box --> The box with the indexing engine application running. CA (Content Administration) Box --> The box with the ATG CA ear ( where we could take CA -BCC - Search Administration and configure the search projects) . Search Indexer Box --> The box with the ATG Search Index ear ( to fetch the index data from repository). Note that the engine performing indexing will need access to the data it is indexing, which for production

ATG Product Catalog schema ER diagram

Check out the O rder schema ER-Diagram @   http://tips4ufromsony.blogspot.in/2012/02/atg-order-schema-er-diagram.html Check out the User Profile  schema ER-Diagram @ http://tips4ufromsony.blogspot.in/2012/03/atg-user-profile-schema-er-diagram.html If you would like to know the relationship between different Product Catalog tables, please find below screen shots of  Product Catalog schema ER Diagrams.

ATG - quick reference to commonly used DSP Tags

In this blog, I would like to give a quick reference to the most commonly used DSP Tags.Note that in this DSP tag details : bean refers to a Nucleus path, component name, and property name param refers to a Page parameter value refers to a Static-value var refers to a EL variable id refers to a scripting variable ============================================================== 1.dsp:importbean     example: <dsp:importbean bean="/atg/dynamo/droplet/Switch"/> ============================================================== 2.dsp:page     usage: It encloses a JSP. The dsp:page invokes the JSP handler, which calls the servlet pipeline and generates HTTPServletRequest.    example:    <dsp:page> ..... </dsp:page> ============================================================== 3.dsp:include     usage: Embeds a page fragment in a JSP.     example:   <dsp:include src="/myPage/ResultPage.jsp" flush="true">