-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Remove _type
from SearchHit
#46942
Remove _type
from SearchHit
#46942
Conversation
Pinging @elastic/es-search |
Note: this applies on top of #46926 |
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.
LGTM
@@ -93,7 +92,7 @@ private void testCancel(String action, AbstractBulkByScrollRequestBuilder<?, ?> | |||
|
|||
logger.debug("setting up [{}] docs", numDocs); | |||
indexRandom(true, false, true, IntStream.range(0, numDocs) | |||
.mapToObj(i -> client().prepareIndex(INDEX, TYPE, String.valueOf(i)).setSource("n", i)) | |||
.mapToObj(i -> client().prepareIndex(INDEX, "_doc", String.valueOf(i)).setSource("n", i)) |
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 assume this is done because we don't yet have a typeless indexing method?
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.
Correct
@elasticmachine update branch |
…e' into types-removal/search-response
@elasticmachine run elasticsearch-ci/bwc |
@elasticmachine run elasticsearch-ci/2 |
Relates to #41059