-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add support for the rollup search API #3449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f8906fa to
1c27616
Compare
russcam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some general comments. Looks like URL tests are missing
| // "xpack.rollup.start_job.json", | ||
| // "xpack.rollup.stop_job.json", | ||
| "xpack.rollup.rollup_search.json", | ||
| //"xpack.rollup.rollup_search.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can delete 😄
| public IndexingJobState JobState { get; internal set; } | ||
|
|
||
| [JsonProperty("current_position")] | ||
| public IDictionary<string, object> CurrentPosition { get; internal set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be IReadOnlyDictionary<string, object>, and possibly initialized?
| { | ||
| public partial interface IElasticClient | ||
| { | ||
| /// <inheritdoc/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should have a <summary>...</summary> and all other overloads inheritdoc from it
|
|
||
| var si = Sanitize(RandomInitializer); | ||
| dict.Add(Integration.ClientMethod.Initializer, request(si, client, initializerBody(si))); | ||
| var si = this.Sanitize(RandomInitializer); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we ought to pass across the codebase for 7.x and standardize the conventions 😄
| AggregationDictionary IRollupSearchRequest.Aggregations { get; set; } | ||
| int? IRollupSearchRequest.Size { get; set; } | ||
|
|
||
| /// <summary>When doing rollup searches against rolled up and live indices size needs to be set to 0 explicitly </summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the XML comments to the interface and <inheritdoc />
Pending #3448