SearchApplicationArgs

data class SearchApplicationArgs(val dataSourceRestrictions: Output<List<DataSourceRestrictionArgs>>? = null, val defaultFacetOptions: Output<List<FacetOptionsArgs>>? = null, val defaultSortOptions: Output<SortOptionsArgs>? = null, val displayName: Output<String>? = null, val enableAuditLog: Output<Boolean>? = null, val name: Output<String>? = null, val queryInterpretationConfig: Output<QueryInterpretationConfigArgs>? = null, val returnResultThumbnailUrls: Output<Boolean>? = null, val scoringConfig: Output<ScoringConfigArgs>? = null, val sourceConfig: Output<List<SourceConfigArgs>>? = null) : ConvertibleToJava<SearchApplicationArgs>

Creates a search application. Note: This API requires an admin account to execute.

Constructors

Link copied to clipboard
fun SearchApplicationArgs(dataSourceRestrictions: Output<List<DataSourceRestrictionArgs>>? = null, defaultFacetOptions: Output<List<FacetOptionsArgs>>? = null, defaultSortOptions: Output<SortOptionsArgs>? = null, displayName: Output<String>? = null, enableAuditLog: Output<Boolean>? = null, name: Output<String>? = null, queryInterpretationConfig: Output<QueryInterpretationConfigArgs>? = null, returnResultThumbnailUrls: Output<Boolean>? = null, scoringConfig: Output<ScoringConfigArgs>? = null, sourceConfig: Output<List<SourceConfigArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SearchApplicationArgs

Properties

Link copied to clipboard

Retrictions applied to the configurations. The maximum number of elements is 10.

Link copied to clipboard

The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.

Link copied to clipboard
val defaultSortOptions: Output<SortOptionsArgs>? = null

The default options for sorting the search results

Link copied to clipboard
val displayName: Output<String>? = null

Display name of the Search Application. The maximum length is 300 characters.

Link copied to clipboard
val enableAuditLog: Output<Boolean>? = null

Indicates whether audit logging is on/off for requests made for the search application in query APIs.

Link copied to clipboard
val name: Output<String>? = null

The name of the Search Application. Format: searchapplications/{application_id}.

Link copied to clipboard

The default options for query interpretation

Link copied to clipboard
val returnResultThumbnailUrls: Output<Boolean>? = null

With each result we should return the URI for its thumbnail (when applicable)

Link copied to clipboard
val scoringConfig: Output<ScoringConfigArgs>? = null

Configuration for ranking results.

Link copied to clipboard
val sourceConfig: Output<List<SourceConfigArgs>>? = null

Configuration for a sources specified in data_source_restrictions.