Skip to content

Commit

Permalink
🤦
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Oct 18, 2023
1 parent 33ef762 commit 142e37e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@ [I] public async Task PointInTimeQuery()
liveSearch.Total.Should().Be(20);

var pitSearch = await client.SearchAsync<Doc>(s => s
.Index(index)
.Query(q => q.MatchAll())
.PointInTime(pitResp.PitId)
.TrackTotalHits());
Console.WriteLine("PIT SEARCH: " + liveSearch.DebugInformation);
Console.WriteLine("PIT SEARCH: " + pitSearch.DebugInformation);
pitSearch.ShouldBeValid();
pitSearch.Total.Should().Be(10);
pitSearch.Documents.Should().AllSatisfy(d => d.Id.Should().BeLessThan(10));
Expand Down

0 comments on commit 142e37e

Please sign in to comment.