GetSearchApplicationResult constructor
- required List<
DataSourceRestrictionResponse> dataSourceRestrictions, - required List<
FacetOptionsResponse> defaultFacetOptions, - required SortOptionsResponse defaultSortOptions,
- required String displayName,
- required bool enableAuditLog,
- required String name,
- required List<
String> operationIds, - required QueryInterpretationConfigResponse queryInterpretationConfig,
- required bool returnResultThumbnailUrls,
- required ScoringConfigResponse scoringConfig,
- required List<
SourceConfigResponse> sourceConfig,
Creates a new GetSearchApplicationResult.
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}.
operationIds IDs of the Long Running Operations (LROs) currently running for this schema. Output only field.
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 GetSearchApplicationResult({
required this.dataSourceRestrictions,
required this.defaultFacetOptions,
required this.defaultSortOptions,
required this.displayName,
required this.enableAuditLog,
required this.name,
required this.operationIds,
required this.queryInterpretationConfig,
required this.returnResultThumbnailUrls,
required this.scoringConfig,
required this.sourceConfig,
});