File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/Nest/XPack/AsyncSearch Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ public class AsyncSearch<TDocument> where TDocument : class
5555 [ DataMember ( Name = "num_reduce_phases" ) ]
5656 public long NumberOfReducePhases { get ; internal set ; }
5757
58+ /// <inheritdoc cref="ISearchResponse{TDocument}.PointInTimeId"/>
59+ [ DataMember ( Name = "pit_id" ) ]
60+ public string PointInTimeId { get ; internal set ; }
61+
5862 /// <inheritdoc cref="ISearchResponse{TDocument}.Profile" />
5963 [ DataMember ( Name = "profile" ) ]
6064 public Profile Profile { get ; internal set ; }
@@ -82,5 +86,9 @@ public class AsyncSearch<TDocument> where TDocument : class
8286 /// <inheritdoc cref="ISearchResponse{TDocument}.Took" />
8387 [ DataMember ( Name = "took" ) ]
8488 public long Took { get ; internal set ; }
89+
90+ /// <inheritdoc cref="ISearchResponse{TDocument}.Total" />
91+ [ IgnoreDataMember ]
92+ public long Total => HitsMetadata ? . Total ? . Value ?? - 1 ;
8593 }
8694}
You can’t perform that action at this time.
0 commit comments