Skip to content

Commit

Permalink
added highlight_fields property (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
agauch authored Sep 2, 2024
1 parent a8c6ac0 commit 701fe9c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Typesense/SearchParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@ public record SearchParameters
[JsonPropertyName("highlight_full_fields")]
public string? HighlightFullFields { get; set; }

/// <summary>
/// Comma separated list of fields that should be highlighted with snippetting.
/// Default: all queried fields will be highlighted.
/// Set to none to disable snippetting fully.
/// </summary>
[JsonPropertyName("highlight_fields")]
public string? HighlightFields { get; set; }

/// <summary>
/// The number of tokens that should surround the highlighted text on each side.
/// </summary>
Expand Down

0 comments on commit 701fe9c

Please sign in to comment.