Interface IPhraseSuggestCollate
Checks each suggestion against the specified query to prune suggestions for which no matching docs exist in the index.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IPhraseSuggestCollate
Properties
| Edit this page View SourceParams
The parameters for the query. the suggestion value will be added to the variables you specify.
Declaration
[DataMember(Name = "params")]
IDictionary<string, object> Params { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Prune
Controls if all phrase suggestions will be returned. When set to true
, the suggestions will have
an additional option collate_match, which will be true
if matching documents for the phrase was found,
false
otherwise. The default value for Prune is false
.
Declaration
[DataMember(Name = "prune")]
bool? Prune { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Query
The collate query to run.
Declaration
[DataMember(Name = "query")]
IPhraseSuggestCollateQuery Query { get; set; }
Property Value
Type | Description |
---|---|
IPhraseSuggestCollateQuery |