Develop > Business logic layer


WebSphere Commerce search

WebSphere Commerce search provides enhanced search functionality in starter stores by providing enriched search engine capabilities such as automatic search term suggestions and spelling correction, while influencing store search results using search term associations, and search-based merchandising rules.

WebSphere Commerce search provides the following key business benefits:

WebSphere Commerce search runs as a search server for the starter store that helps deliver targeted search results, while enabling customers to find products more effectively. It provides advanced administering features such as dynamic clustering, database integration, rich document handling, distributed search and index replication.

The following diagram illustrates WebSphere Commerce search:

WebSphere Commerce search

Where:


Understand WebSphere Commerce search

WebSphere Commerce search is based around the search index, where an index is represented by a large flat table containing searchable fields optimized for search performance. The search index must be built before it can be used for any searches. The search index is built with one or more Documents, with Documents containing Fields. A Field consists of a name, its content, and metadata that tells WebSphere Commerce search how to handle the content. Typically, Fields can contain boolean values, numbers, or strings. A field is flexible, enabling you to define the own type. Fields contain two important attributes: indexed and stored. If a field is indexed, it is searchable, sortable, and facetable. If an index is stored, its value is retrievable during a search.

WebSphere Commerce search uses a schema represented similar to a database schema. The search schema defines the structure of the search index. Typically the search configurations are performed in the search schema configuration file. This configuration file contains information about which fields the documents can contain, and how those fields should be processed when adding documents to the index, or when querying those fields.

The schema contains three main sections:

Data Types

Enables you to define a list of field type declarations to use in the schema.

Fields

Contains a list of the individual field declarations to use in the documents.

Miscellaneous

Contains miscellaneous information.

WebSphere Commerce search uses HTTP requests to initiate indexing and searching. These requests are typically wrapped using utilities provided with WebSphere Commerce search. During the indexing process, WebSphere Commerce search takes input Documents as XML and builds an index using the information, and uses each Field in the input Document to build a searchable column. Once the index is built, it can be queried using search commands. These search queries are HTTP requests, where if a match is found, it returns XML data as the search results.


Use WebSphere Commerce search to influence starter store search results

The following search tooling and features are available by default to influence search results in the starter store:

Search term associations

The Product Manager is responsible for creating and managing search term associations. Search term associations include synonyms and search term replacements, and linking search terms with landing pages.

When customers search the storefront:

  • Synonyms increase the scope of search results by adding additional search terms to the customer's search submission.

  • Replacement terms modify potential search results by changing the search terms from the customer's search submission.

  • Landing pages promote certain products or activities in the store by directing to specific store pages based on the customer's search submission.

See Work with search term associations to improve storefront search results for more information.

Search-based merchandising rules

Search rules are managed by Marketing Managers. They are used when customers search the storefront to deliver customized search results and ordering.

For example, the following search rules can be created using the Search Rule Builder:

  • When a customer searches the store, change the relative order of the search result by favouring catalog entries that belong to a specific brand or category, or sort catalog entries by price.

  • When a customer searches the store, promote specific catalog entries to the top of the search result.

  • When a customer searches the store, sort catalog entries by their manufacturer name.

See Work with search rules for more information.

Starter stores integration

You can deliver powerful search-based catalog browsing flows by enabling WebSphere Commerce search in starter stores. Starter store enhancements for the storefront are provided such as automatic search term suggestions, spelling correction, and search result highlighting.

See WebSphere Commerce search in starter stores for more information.


Limitations

The following limitations exist in WebSphere Commerce search-enabled starter stores:


Related concepts

Administer WebSphere Commerce search

WebSphere Commerce search in starter stores


Related tasks

Work with search term associations to improve storefront search results

Work with search rules

Related reference

WebSphere Commerce search tutorials


+

Search Tips   |   Advanced Search