This section includes the following topics:

Note: A search interface does not define or control the user interface through which shoppers search for product data in the storefront.

Understand the All and TypeAhead search interfaces

The Oracle Commerce Cloud service provides two search interfaces, which perform different functions as follows:

You can specify which index fields are included as members in All and TypeAhead using the Search tab of Oracle Commerce Cloud service, or the Search and Navigation REST API endpoints to modify the configuration of the search interface.

Important: Use of search interfaces other than All and Typeahead is not supported.

Understand how searches are narrowed

A search interface narrows the scope of shoppers’ searches to specified index fields in your published product data. A search interface does this by specifying:

The dimensions and properties correspond to catalog fields. When catalog content is published:

After a storefront shopper enters a search term, the search results include product data records that:

For information about how to select the search interface to use, refer to Using Oracle Commerce Cloud Service.

Example: the search interface All

Suppose that the currently selected search interface includes:

If a storefront shopper performs a search on the term “backpacks”, the search results contain:

Note: See the following section for information about how search terms are matched to properties and dimensions.

Understand how search terms are matched to records

You can configure how search terms are matched to records by specifying:

For detailed information, see Search interface attributes.

Understand how the fields array affects the sorting of search results

The order of records in search results is determined by your relevance ranking strategy. A relevance ranking strategy is composed of different modules, each of which sorts records according to its own criteria. Modules in your relevance ranking strategy can take into account the order of the members in the fields array of your search interface. For information about how they do this, see Understand how relevance ranking modules sort results.

The position of the member ecr:crossField in the fields array determines the position in the search results of records that are added to the list as a result of cross-field matches. The member ecr:crossField is taken into account only when the crossFieldMatch attribute is set to always.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices