Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Oct 17, 2023
1 parent a209ac2 commit cb43e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/Search/Search/SearchRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public SearchDescriptor<TInferDocument> RuntimeFields<TSource>(Func<RuntimeField
Assign(runtimeFieldsSelector, (a, v) => a.RuntimeFields = v?.Invoke(new RuntimeFieldsDescriptor<TSource>())?.Value);

public SearchDescriptor<TInferDocument> PointInTime(string pitId, Func<PointInTimeDescriptor, IPointInTime> selector = null) =>
Assign(selector, (a, v) => a.PointInTime = v?.Invoke(new PointInTimeDescriptor(pitId)));
Assign(selector, (a, v) => a.PointInTime = v?.InvokeOrDefault(new PointInTimeDescriptor(pitId)));

protected override string ResolveUrl(RouteValues routeValues, IConnectionSettingsValues settings) => base.ResolveUrl(routeValues, settings);
}
Expand Down

0 comments on commit cb43e5a

Please sign in to comment.