| 
            
               | 
        
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
                    
        
        
          Builds an SQL query for Faceted Search.
        
        
          
            
Syntax
        
        | Smartsite SXML | 
						
							 | 
				
|---|---|
<se:facetedsearchquerybuilder20>
    <se:parameters>
        <se:parameter name="configurationxml">
            
        </se:parameter>
    </se:parameters>
</se:facetedsearchquerybuilder20>
					 | 
				|
          
            
Parameters
        
        | Name | Data Type | Properties | Description | 
|---|---|---|---|
| Allowemptysearch | String | - | Sets the facet. | 
| Assetsearch | Integer | - | Sets the search terms. | 
| ChannelCodes | String | - | Sets the channel codes. | 
| ConfigurationXml | XML | 
                  IsRequired 
                   | 
                Sets the configuration XML. | 
| Connection | String | 
                  Trim 
                   | 
                Sets the connection used for the Sql query. | 
| Facet | String | - | Sets the facet. | 
| FacetValues | Collection | - | Sets the facet values. | 
| Filesearch | Integer | - | Sets the search terms. | 
| Fulltextoverideset | Boolean | - | Sets the fulltext. | 
| Mode | Enum | - | 
                  Sets the (query) mode.
                   Enum values: 
  | 
              
| OrderBy | String | - | Sets the order by clause. | 
| OutputBufferName | String | - | Sets the name of the output buffer for storing the datatable (which should be passed to the sqlquery macro). | 
| SearchBaseName | String | - | Sets the name of the search base. | 
| SearchGroup | String | - | Sets the search group. | 
| SearchProfile | String | - | Sets the search profile. | 
| Sources | Collection | - | Sets the sources. | 
| TableOrView | String | - | Sets the (main) table or view for the search query. | 
          
            
Shared Parameters
        
        
        
          
            
Local Viper Methods
        
        | Viper | Extension | Description | 
|---|---|---|
| This.Allowemptysearch | Gets the facet. | |
| This.ClearForcedResult | 
                  Sets the result of the macro. used to override the normal handling of the result creation.  | 
              |
| This.ContentTypeWeight | Gets the content type weight. | |
| This.Facet | Gets the facet. | |
| This.FacetSelectFields | Gets the facet select fields. | |
| This.FacetWhereClause | Gets the facet-specific where clause. | |
| This.FieldName | Gets the name of the field. | |
| This.FieldWeight | Gets the field weight. | |
| This.FreetextTablesearch | Freetextsearch. | |
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.IsBaseQuery | Gets a value indicating whether this instance is a base (search) query. | |
| This.JoinClause | Gets the join clause. | |
| This.Mode | Gets the (query) mode. | |
| This.OrderBy | Gets the order by clause. | |
| This.PopularityWeight | Gets the popularity weight. | |
| This.RankingFields | Gets the ranking fields. | |
| This.RankingStatement | Gets the ranking statement for the specified (native) source. | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. | 
| This.ResultChannelCode | Gets the result channel code. | |
| This.ResultChannelJoins | Gets the result channel joins. | |
| This.SearchCondition | Gets the (native) search condition for the specified source. | |
| This.SearchGroupViewName | Gets the viewname for the search group that has been configured. | |
| This.SearchQuery | Gets the search query. | |
| This.SelectFields | Gets the select fields. | |
| This.SeoPriority | Gets the SEO priority. | |
| This.SetForcedResult | 
                  Sets the result of the macro. used to override the normal handling of the result creation.  | 
              |
| This.TableOrView | Gets the (main) table or view for the search query. | |
| This.WhereClause | Gets the where clause. |