Release 1.3 - ...

<where> element

When a specific facet key is selected and the (search) results must be filtered using this facet key, the master search query must be adjusted with the appropriate WHERE statement.

The where element is used for this purpose and it should define the WHERE statement (without the "WHERE" itself) for this specific facet.

Usually this will just be something like "c.fieldname = ?:facetname". Notice that the facetname must match the name attribute of the facet element.

All individual WHERE clause(s) for each (selected) facet are collected and concatenated, and the result of this process is returned when the local instance viper {this.whereclause()} in the master search query is resolved.

Expand image Example

Expand image Attributes

Expand image Parent element

Expand image Child elements