-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
HLRC - add support for source exists API #34519
HLRC - add support for source exists API #34519
Conversation
Pinging @elastic/es-core-infra |
jenkins test this |
4 similar comments
jenkins test this |
jenkins test this |
jenkins test this |
jenkins test this |
d0e640a
to
ae8d013
Compare
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.
Is there anything we can add to existing docs to advertise this? The code itself looks fine.
ae8d013
to
5a780f5
Compare
@hub-cap is this addition to the "exists" page OK? I suspect this |
as per the docs youve linked, it should just have a little blurb in the exists doc, just a small section added to it would do. just fyi, the link is actually broken, it looks like there is an extra letter L in _exists in your javadoc, ill mark it on the review, as well. |
@@ -725,6 +725,32 @@ public final void existsAsync(GetRequest getRequest, RequestOptions options, Act | |||
emptySet()); | |||
} | |||
|
|||
/** | |||
* Checks for the existence of a document with a _source field. Returns true if it exists, false otherwise. | |||
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html#_sourcel">Source exists API |
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.
"_source"
|
||
/** | ||
* Asynchronously checks for the existence of a document with a _source field. Returns true if it exists, false otherwise. | ||
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html#_sourcel">Source exists API |
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.
"_source"
API re-uses the GetRequest object (following the precedent set by the plain “exists” api). Relates to elastic#33686
5a780f5
to
bb6da03
Compare
* 'master' of github.com:elastic/elasticsearch: Fix line length for org.elasticsearch.common.* files (elastic#34888) [ML] Extract common native process base class (elastic#34856) Refactor children aggregator into a generic ParentJoinAggregator (elastic#34845) [Style] Fix line lengths in action.admin.indices (elastic#34890) HLRC - add support for source exists API (elastic#34519) [CCR] Retry when no index shard stats can be found (elastic#34852) [Docs] audit logfile structured format (elastic#34584) [Test] Fix FullClusterRestartIT.testShrink() with copy_settings param (elastic#34853) Fix LineLength Check Suppressions: index.fielddata (elastic#34891) TEST: Stablize Minio Free Port Search (elastic#34894) Delete flaky SettingsBasedHostProviderIT test (elastic#34813) [ML] Include message in field_stats for text log files (elastic#34861) [TEST] HLRC: Expand failure messages in API checks (elastic#34838) Lowercase static final DeprecationLogger instance names (elastic#34887)
* master: Introduce cross-cluster replication API docs (elastic#34726) Responses can use Writeable.Reader interface (elastic#34655) SQL: Provide null-safe scripts for Not and Neg (elastic#34877) Fix put/resume follow request parsing (elastic#34913) Fix line length for org.elasticsearch.common.* files (elastic#34888) [ML] Extract common native process base class (elastic#34856) Refactor children aggregator into a generic ParentJoinAggregator (elastic#34845) [Style] Fix line lengths in action.admin.indices (elastic#34890) HLRC - add support for source exists API (elastic#34519)
HLRC - add support for source exists API API re-uses the GetRequest object (following the precedent set by the plain “exists” api).
HLRC - add support for source exists API API re-uses the GetRequest object (following the precedent set by the plain “exists” api). Backport of #34519
HLRC - add support for source exists API API re-uses the GetRequest object (following the precedent set by the plain “exists” api). Relates to #27205
API re-uses the GetRequest object (following the precedent set by the plain “exists” api).
Relates to #27205