Class PhraseSuggestCollateQueryDescriptor
A query to run for a phrase suggester collate
Inheritance
PhraseSuggestCollateQueryDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class PhraseSuggestCollateQueryDescriptor : DescriptorBase<PhraseSuggestCollateQueryDescriptor, IPhraseSuggestCollateQuery>, IDescriptor, IPhraseSuggestCollateQuery
Methods
| Edit this page View SourceId(Id)
The id for a stored script to execute
Declaration
public PhraseSuggestCollateQueryDescriptor Id(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id |
Returns
Type | Description |
---|---|
PhraseSuggestCollateQueryDescriptor |
Source(string)
The source script to be executed
Declaration
public PhraseSuggestCollateQueryDescriptor Source(string source)
Parameters
Type | Name | Description |
---|---|---|
string | source |
Returns
Type | Description |
---|---|
PhraseSuggestCollateQueryDescriptor |