Skip to content

Commit

Permalink
adds missing fields VecDist and RangeIndex (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen authored Aug 21, 2024
1 parent 66c81f8 commit f7e3935
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Typesense/Field.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public record Field
[JsonPropertyName("stem")]
public bool? Stem { get; init; }

[JsonPropertyName("vec_dist")]
public string? VecDist { get; init; }

[JsonPropertyName("range_index")]
public bool? RangeIndex { get; init; }

// This constructor is made to handle inherited classes.
protected Field(string name)
{
Expand Down

0 comments on commit f7e3935

Please sign in to comment.