Skip to content

Commit

Permalink
Fix PIT Search Recipe NewPointInTime Call (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamplace authored Mar 19, 2022
1 parent 058eb00 commit 97254fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/search_with_point_in_time/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func main() {
).
Size(*size).
PointInTime(
elastic.NewPointInTime(pit.Id, "2m"),
elastic.NewPointInTimeWithKeepAlive(pit.Id, "2m"),
).
Do(context.Background())
if err != nil {
Expand Down

0 comments on commit 97254fa

Please sign in to comment.