Using a search form created with the QueryFormHandler class, you can constrain the set of items accessed through facet selections to ones that also match the search query text. For example, suppose a site visitor at a clothing store begins by searching for “belt,” and then chooses the “Brown” selection value for the color facet. The site would now display only brown belts, not all brown items in the store.

To enable this behavior in your pages, Faceted Search allows you to use a special SRCH facet whose selection value is the search term entered by the site visitor. In this example, the facet trail String would look something like this:

SRCH:belt:12:Brown