SearchApplicationArgs class
The set of arguments for SearchApplication. The set of arguments for SearchApplication.
Constructors
-
SearchApplicationArgs({Input<
List< ? dataSourceRestrictions, Input<DataSourceRestriction> >List< ? defaultFacetOptions, Input<FacetOptions> >SortOptions> ? defaultSortOptions, Input<String> ? displayName, Input<bool> ? enableAuditLog, Input<String> ? name, Input<QueryInterpretationConfig> ? queryInterpretationConfig, Input<bool> ? returnResultThumbnailUrls, Input<ScoringConfig> ? scoringConfig, Input<List< ? sourceConfig})SourceConfig> > -
Creates a new SearchApplicationArgs.
dataSourceRestrictionsRetrictions applied to the configurations. The maximum number of elements is 10.defaultFacetOptionsThe default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.defaultSortOptionsThe default options for sorting the search resultsdisplayNameDisplay name of the Search Application. The maximum length is 300 characters.enableAuditLogIndicates whether audit logging is on/off for requests made for the search application in query APIs.nameThe name of the Search Application. Format: searchapplications/{application_id}.queryInterpretationConfigThe default options for query interpretationreturnResultThumbnailUrlsWith each result we should return the URI for its thumbnail (when applicable)scoringConfigConfiguration for ranking results.sourceConfigConfiguration for a sources specified in data_source_restrictions.const -
SearchApplicationArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dataSourceRestrictions
→ Input<
List< ?DataSourceRestriction> > -
Retrictions applied to the configurations. The maximum number of elements is 10.
final
-
defaultFacetOptions
→ Input<
List< ?FacetOptions> > -
The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
final
-
defaultSortOptions
→ Input<
SortOptions> ? -
The default options for sorting the search results
final
-
displayName
→ Input<
String> ? -
Display name of the Search Application. The maximum length is 300 characters.
final
-
enableAuditLog
→ Input<
bool> ? -
Indicates whether audit logging is on/off for requests made for the search application in query APIs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The name of the Search Application. Format: searchapplications/{application_id}.
final
-
queryInterpretationConfig
→ Input<
QueryInterpretationConfig> ? -
The default options for query interpretation
final
-
returnResultThumbnailUrls
→ Input<
bool> ? -
With each result we should return the URI for its thumbnail (when applicable)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scoringConfig
→ Input<
ScoringConfig> ? -
Configuration for ranking results.
final
-
sourceConfig
→ Input<
List< ?SourceConfig> > -
Configuration for a sources specified in data_source_restrictions.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited