This section is for ATG Search configurations only. In it, you will create a search configuration and build an index that supports facets and other search functionality on the ATG Store storefront.

To configure a search project:

  1. If you have just finished deploying, click BCC Home in the title bar to return to the main ATG Business Control Center window. Otherwise, log onto the ATG Business Control Center (for instructions, see Browsing the Publishing Server).

  2. Click Search Administration, then click Browse Search Projects.

  3. Click New Search Project.

  4. Enter commerce for the Search Project Name.

    Important: You must enter commerce for the Search Project Name in order for the remainder of this procedure to perform as expected. (The Search Project Name must be identical to the value of the searchEnvironmentName property in the/atg/commerce/search/catalog/QueryRequest component. Out of the box, seachEnvironmentName has a value of commerce, hence, the requirement to use commerce for the Search Project Name.)

  5. Click Create Search Project.

  6. Under Content for Indexing, click Add Content and complete the following details:

    • Content Name: commerce

    • Type of Content: ATG Repository

    • IndexingOutputConfig Path: /atg/commerce/search/ProductCatalogOutputConfig

    • Location: Remote

    • Host Machine: <production hostname>

    • Port: <production RMI port> (default is 8860)

  7. Click Add Content.

  8. Next to Content for Indexing, click Manage Content.

  9. Under Language Customizations (Pre-Index), click Add Item, then select Core Language Support.

  10. Click German, then click Save.

  11. Under Post-Index Customizations, click Add Item, then select Facet Sets.

  12. Click Refine Config.

  13. Click Save.

  14. In the left pane, click Environments.

  15. Click the default1 environment link.

  16. Enter commerce for the Environment name and click Save.

  17. In the left pane, click Indexing.

  18. Click Build Index to initiate a full index.

  19. After the index is complete, in a browser, navigate to:

    http://<hostname>:<HTTP_port>/store

    For example, on JBoss:

    http://localhost:8080/store

    On WebLogic:

    http://localhost:7004/store

    On WebSphere:

    http://localhost:9082/store

  20. Click a category from the menu bar, for example, Women’s Apparel. Notice the addition of a Shop Your Way area, below the category list, that includes facets for navigating items in the catalog.

 
loading table of contents...