-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Concurrent Segment Search] NPE with size and terminate_after parameters when using concurrent search #10054
Comments
It looks like the issue also related to
When OpenSearch/server/src/main/java/org/opensearch/search/query/TopDocsCollectorContext.java Lines 185 to 192 in 1118dcf
Consequently, the OpenSearch/server/src/main/java/org/opensearch/search/query/QueryCollectorManagerContext.java Lines 66 to 74 in c81668c
And OpenSearch/server/src/main/java/org/opensearch/search/query/QueryCollectorContext.java Lines 278 to 283 in 152321b
|
For the special case of OpenSearch/server/src/main/java/org/opensearch/search/query/TopDocsCollectorContext.java Lines 774 to 783 in 1118dcf
However, unlike |
Looks like there are actually at least 2 more problems related to
Basically looks like we need to take a closer look at the special case of |
When
size=0
andterminate_after
parameters are used in a search request and concurrent search path is used, an NPE is thrownTo Reproduce
This was done on
nyc_taxis
data set.This was found while doing some debugging for
The text was updated successfully, but these errors were encountered: