Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/Nest/Domain/Responses/SearchResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public interface ISearchResponse<T> : IResponse where T : class
int ElapsedMilliseconds { get; }
string ScrollId { get; }
long Total { get; }
double MaxScore { get; }
double MaxScore { get; }
bool TimedOut { get; }
/// <summary>
/// Returns a view on the documents inside the hits that are returned.
/// <para>NOTE: if you use Fields() on the search descriptor .Documents will be empty use
Expand Down Expand Up @@ -76,7 +77,10 @@ public AggregationsHelper Aggs
public IDictionary<string, Suggest[]> Suggest { get; internal set; }

[JsonProperty(PropertyName = "took")]
public int ElapsedMilliseconds { get; internal set; }
public int ElapsedMilliseconds { get; internal set; }

[JsonProperty(PropertyName = "timed_out")]
public bool TimedOut { get; internal set; }

/// <summary>
/// Only set when search type = scan and scroll specified
Expand Down