Skip to content

Search Feed

rmerizalde edited this page Mar 4, 2013 · 8 revisions

OpenCommerceSearch provides a base search feed. The feed uses the Template Method pattern. This base class provides the following functionality:

  • Product catalog traversal
  • Populate site/catalog/category fields. These fields are used to filter products per site (multi-site implementations) and can be used to create a drill-down taxonomy filters.
  • Indexing content into Solr
This is where most of the work is required when using OpenCommerceSearch. Each implementation must write its own feed. A configurable feed implementation is planned for the future.

Category Tokens

The category tokens represent the taxonomy to which the product belongs to. The default implementation uses a facet prefix based approach which is good for applications that render product of one category at the time. Such approach is not suitable if you need to expand multiple categories at the same time (e.g. directory/file browse alike views). For such requirements see Hierarchical Faceting

Clone this wiki locally