public sealed class MatchInfo : IMessage<SuggestionInfo.Types.MatchInfo>, IEquatable<SuggestionInfo.Types.MatchInfo>, IDeepCloneable<SuggestionInfo.Types.MatchInfo>, IBufferMessage, IMessage
MatchInfo describes which part of suggestion matched with data in user
typed query. This can be used to highlight matching parts in the UI. This
is different from the annotations provided in annotated_suggestion. The
annotated_suggestion provides information about the semantic meaning, while
this provides information about how it relates to the input.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eMatchInfo\u003c/code\u003e is a class that identifies the specific parts of a suggestion that correspond to the user's typed query, enabling UI highlighting of matching sections.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchInfo\u003c/code\u003e class provides data about how suggestions relate to the user's input, distinguishing it from the semantic meaning conveyed by \u003ccode\u003eannotated_suggestion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchInfo\u003c/code\u003e class includes properties \u003ccode\u003eLength\u003c/code\u003e and \u003ccode\u003eStartCharIndex\u003c/code\u003e to specify the length and starting position of the matched substring within the query.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchInfo\u003c/code\u003e class has two constructors, a parameterless one \u003ccode\u003eMatchInfo()\u003c/code\u003e and another that takes \u003ccode\u003eSuggestionInfo.Types.MatchInfo\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]