Class SuggestOption<TDocument>
Inheritance
SuggestOption<TDocument>
Assembly: OpenSearch.Client.dll
Syntax
public class SuggestOption<TDocument> : ISuggestOption<TDocument> where TDocument : class
Type Parameters
Name |
Description |
TDocument |
|
Properties
|
Edit this page
View Source
CollateMatch
Phrase suggestions only, true if matching documents for the collate query were found,
Declaration
[DataMember(Name = "collate_match")]
public bool CollateMatch { get; }
Property Value
|
Edit this page
View Source
Contexts
Completion suggester only, the contexts associated with the completed document
Declaration
[DataMember(Name = "contexts")]
public IDictionary<string, IEnumerable<Context>> Contexts { get; }
Property Value
|
Edit this page
View Source
DocumentScore
Declaration
[DataMember(Name = "_score")]
public double? DocumentScore { get; }
Property Value
|
Edit this page
View Source
Fields
Declaration
[DataMember(Name = "fields")]
public FieldValues Fields { get; }
Property Value
|
Edit this page
View Source
Frequency
Declaration
[DataMember(Name = "freq")]
public long Frequency { get; set; }
Property Value
|
Edit this page
View Source
Highlighted
Phrase suggester only, highlighted version of text
Declaration
[DataMember(Name = "highlighted")]
public string Highlighted { get; }
Property Value
|
Edit this page
View Source
Id
Completion suggester only, the id of the completed document
Declaration
[DataMember(Name = "_id")]
public string Id { get; }
Property Value
|
Edit this page
View Source
Index
Completion suggester only, the index of the completed document
Declaration
[DataMember(Name = "_index")]
public IndexName Index { get; }
Property Value
|
Edit this page
View Source
Score
Declaration
[IgnoreDataMember]
public double Score { get; }
Property Value
|
Edit this page
View Source
Source
Completion suggester only, the source of the completed document
Declaration
[DataMember(Name = "_source")]
public TDocument Source { get; }
Property Value
Type |
Description |
TDocument |
|
|
Edit this page
View Source
SuggestScore
Declaration
[DataMember(Name = "score")]
public double? SuggestScore { get; }
Property Value
|
Edit this page
View Source
Text
Declaration
[DataMember(Name = "text")]
public string Text { get; }
Property Value
Implements
Extension Methods