Skip to content

Commit 701fe9c

Browse files
authored
added highlight_fields property (#241)
1 parent a8c6ac0 commit 701fe9c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Typesense/SearchParameters.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ public record SearchParameters
269269
[JsonPropertyName("highlight_full_fields")]
270270
public string? HighlightFullFields { get; set; }
271271

272+
/// <summary>
273+
/// Comma separated list of fields that should be highlighted with snippetting.
274+
/// Default: all queried fields will be highlighted.
275+
/// Set to none to disable snippetting fully.
276+
/// </summary>
277+
[JsonPropertyName("highlight_fields")]
278+
public string? HighlightFields { get; set; }
279+
272280
/// <summary>
273281
/// The number of tokens that should surround the highlighted text on each side.
274282
/// </summary>

0 commit comments

Comments
 (0)