SearchApplicationArgs constructor

const SearchApplicationArgs({
  1. Input<List<DataSourceRestriction>>? dataSourceRestrictions,
  2. Input<List<FacetOptions>>? defaultFacetOptions,
  3. Input<SortOptions>? defaultSortOptions,
  4. Input<String>? displayName,
  5. Input<bool>? enableAuditLog,
  6. Input<String>? name,
  7. Input<QueryInterpretationConfig>? queryInterpretationConfig,
  8. Input<bool>? returnResultThumbnailUrls,
  9. Input<ScoringConfig>? scoringConfig,
  10. Input<List<SourceConfig>>? sourceConfig,
})

Creates a new SearchApplicationArgs. dataSourceRestrictions Retrictions applied to the configurations. The maximum number of elements is 10. defaultFacetOptions The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above. defaultSortOptions The default options for sorting the search results displayName Display name of the Search Application. The maximum length is 300 characters. enableAuditLog Indicates whether audit logging is on/off for requests made for the search application in query APIs. name The name of the Search Application. Format: searchapplications/{application_id}. queryInterpretationConfig The default options for query interpretation returnResultThumbnailUrls With each result we should return the URI for its thumbnail (when applicable) scoringConfig Configuration for ranking results. sourceConfig Configuration for a sources specified in data_source_restrictions.

Implementation

const SearchApplicationArgs({
  this.dataSourceRestrictions,
  this.defaultFacetOptions,
  this.defaultSortOptions,
  this.displayName,
  this.enableAuditLog,
  this.name,
  this.queryInterpretationConfig,
  this.returnResultThumbnailUrls,
  this.scoringConfig,
  this.sourceConfig,
});