After the index file is built, customers can search an organization's active selling catalog by specifying search criteria.
Customers can either enter arbitrary terms, such as Laptop Computer, as search criteria, or enter item attributes based on categories, to locate specific items. When customers perform keyword searches in a parent category, only items from the parent category are returned; items from child categories are not returned.
Advanced search enables customers to specify item fields and values as search criteria. Advanced search also supports the Lucene query parser. Customers can use special Lucene operators and terms, such as wildcards (#, *), to refine their search.
Search results return a list of items that match the query formed from the search criteria. Typically, item information is retrieved from the Sterling Selling and Fulfillment Foundation database. However, information for external attributes is retrieved directly from the index. Information for internal attributes can also be retrieved from the index by setting an attribute's Store value to Y in the extended XML configuration file. After information is retrieved, it is displayed to the customer. The results also display a list of attributes and categories that match the query and the number of matching items for each attribute and category.
Sterling Selling and Fulfillment Foundation uses Ehcache functionality and SearchIndexCache for storing pre-search results of items within categories and filtered attributes in the catalog for search index. For detailed information about Ehcache functionality and how you can configure the elements and settings to enhance your cache for catalog search index, see the Ehcache website.