-
Notifications
You must be signed in to change notification settings - Fork 183
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
Begin generating index CRUD operations #1220
base: main
Are you sure you want to change the base?
Begin generating index CRUD operations #1220
Conversation
b730726
to
6083075
Compare
92d4e70
to
d1b3104
Compare
|
||
### InlineScript | ||
- The `lang` property now accepts a `ScriptLanguage` enum instead of a `String`. |
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.
This too could be made backwards compatible with a patch?
public enum ExpandWildcard implements JsonEnum { | ||
/** | ||
* Match any data stream or index, including hidden ones. | ||
* Match any index, including hidden ones. |
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.
Could we bring back the previous comment? The note about data streams is important I think
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'm unable to find any reference to expand wildcard in the context of data streams in any OS docs or in the source code. So I'm not sure if those comments are actually relevant to OS or if they're related to the expanded data stream APIs added in ES.
java-client/src/generated/java/org/opensearch/client/opensearch/_types/Script.java
Show resolved
Hide resolved
java-client/src/generated/java/org/opensearch/client/opensearch/_types/Script.java
Show resolved
Hide resolved
java-client/src/generated/java/org/opensearch/client/opensearch/_types/ScriptBase.java
Show resolved
Hide resolved
java-client/src/generated/java/org/opensearch/client/opensearch/_types/ScriptBase.java
Show resolved
Hide resolved
|
||
@JsonpDeserializable | ||
@Generated("org.opensearch.client.codegen.CodeGenerator") | ||
public class RuntimeField implements PlainJsonSerializable { |
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.
We don't support RuntimeFields, the equivalent feature is derived fields (see please opensearch-project/OpenSearch#12281)
|
||
Synthetic("synthetic"); |
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 don't support synthetic
either
@Nullable | ||
private final Query filter; | ||
|
||
@Nullable | ||
private final String indexRouting; | ||
@Nonnull |
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 believe this is not the shape of the API we support (https://www.elastic.co/guide/en/elasticsearch/reference/7.12/indices-aliases.html)
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
ba10e9d
to
afb4e70
Compare
Description
Begin generating indices.get, shortcutting a few of the more expansive types for property mapping and query types etc. Will make follow up PRs to generate them.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.