Gets the (query) mode.

Syntax

Smartsite SXML CopyCode image Copy Code
enum this.mode()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Enum The mode.
Enum values:
  • SearchQuery
    Search Query
  • FacetQuery
    Facet Query
  • CountQuery
    Count Query

Used in

Macro Description
FacetedSearchQueryBuilder Builds an SQL query for Faceted Search.

Expand image Remarks

Expand image Example

SXML