File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,13 @@ public record MultiSearchParameters : SearchParameters
3737
3838 [ JsonPropertyName ( "group_missing_values" ) ]
3939 public bool ? GroupMissingValues { get ; set ; }
40+
41+ /// <summary>
42+ /// Set this parameter to the value of a preset that has been created in typesense.
43+ /// The query parameters of the preset will then be used in your search.
44+ /// </summary>
45+ [ JsonPropertyName ( "preset" ) ]
46+ public bool ? Preset { get ; set ; }
4047
4148 public MultiSearchParameters ( string collection , string text ) : base ( text )
4249 {
@@ -87,6 +94,13 @@ public record SearchParameters
8794 [ JsonPropertyName ( "infix" ) ]
8895 public string ? Infix { get ; set ; }
8996
97+ /// <summary>
98+ /// Set this parameter to the value of a preset that has been created in typesense.
99+ /// The query parameters of the preset will then be used in your search.
100+ /// </summary>
101+ [ JsonPropertyName ( "preset" ) ]
102+ public bool ? Preset { get ; set ; }
103+
90104 /// <summary>
91105 /// Set this parameter to true if you wish to split the search query into space separated words yourself.
92106 /// When set to true, we will only split the search query by space,
You can’t perform that action at this time.
0 commit comments