Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed Oct 30, 2023
1 parent a7ca139 commit 12ef982
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/azure-cognitive-search-tests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public static async Task Main(string[] args)
// Search by tags
var records = await SearchByFieldValueAsync(Index,
fieldName: "tags",
fieldValue1: $"category{Constants.ReservedEqualsSymbol}pyt'hon",
fieldValue2: $"year{Constants.ReservedEqualsSymbol}2023",
fieldValue1: $"category{Constants.ReservedEqualsChar}pyt'hon",
fieldValue2: $"year{Constants.ReservedEqualsChar}2023",
fieldIsCollection: true,
limit: 5);

Expand All @@ -107,8 +107,8 @@ public static async Task Main(string[] args)
// Search by tags
records = await SearchByFieldValueAsync(Index,
fieldName: "tags",
fieldValue1: $"category{Constants.ReservedEqualsSymbol}pyt'hon",
fieldValue2: $"year{Constants.ReservedEqualsSymbol}1999",
fieldValue1: $"category{Constants.ReservedEqualsChar}pyt'hon",
fieldValue2: $"year{Constants.ReservedEqualsChar}1999",
fieldIsCollection: true,
limit: 5);

Expand Down

0 comments on commit 12ef982

Please sign in to comment.