public sealed class SearchRequest.Types.SearchAsYouTypeSpec.Types.Field : IMessage<SearchRequest.Types.SearchAsYouTypeSpec.Types.Field>, IEquatable<SearchRequest.Types.SearchAsYouTypeSpec.Types.Field>, IDeepCloneable<SearchRequest.Types.SearchAsYouTypeSpec.Types.Field>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class SearchRequest.Types.SearchAsYouTypeSpec.Types.Field.
A schema field to be used for Search As You Type scoring on this request. Overrides any data-store-level Search As You Type field configuration for the duration of the request.
Implements
IMessageSearchRequestTypesSearchAsYouTypeSpecTypesField, IEquatableSearchRequestTypesSearchAsYouTypeSpecTypesField, IDeepCloneableSearchRequestTypesSearchAsYouTypeSpecTypesField, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
Field()
public Field()Field(Field)
public Field(SearchRequest.Types.SearchAsYouTypeSpec.Types.Field other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchRequestTypesSearchAsYouTypeSpecTypesField |
Properties
HasWeight
public bool HasWeight { get; }Gets whether the "weight" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Key
public string Key { get; set; }Required. A field key that has been indexed for Search As You Type.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Weight
public double Weight { get; set; }Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
| Property Value | |
|---|---|
| Type | Description |
double |
|