Skip to content

Commit

Permalink
added filter_curated_hits property (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
adonistseriotis authored Sep 24, 2024
1 parent acce387 commit 22f7988
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Typesense/SearchParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ public record SearchParameters
[JsonPropertyName("hidden_hits")]
public string? HiddenHits { get; set; }

/// <summary>
/// Whether the filter_by condition of the search query should be applicable to curated results (override definitions, pinned hits, hidden hits, etc.).
/// </summary>
[JsonPropertyName("filter_curated_hits")]
public bool? FilterCuratedHits { get; set; }

/// <summary>
/// If you have some overrides defined but want to disable all of them during
/// query time, you can do that by setting this parameter to false
Expand Down

0 comments on commit 22f7988

Please sign in to comment.