Skip to content
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

Failed to load uid from the index in match_all query with parent/child and _source disabled #1149

Closed
lmader opened this issue Jul 22, 2011 · 0 comments

Comments

@lmader
Copy link

lmader commented Jul 22, 2011

Issue: After indexing parent/child documents, in which the _source is disabled on the child document, a match_all query can fail with:

[2011-07-12 18:57:18,122][DEBUG][action.search.type ] [Nital, Adri] [257386] Failed to execute fetch phase org.elasticsearch.search.fetch.FetchPhaseExecutionException: [temp] [0]: query[ConstantScore(:)],from[0],size[10]: FetchFailed [Failed to loaduidfrom the index]

The program that repros the problem is here:
https://gist.github.com/1096154

This appears to be a concurrency problem with parent/child documents.

Please note that the _source for the child document must be disabled
for this problem to show up. The repro program "puts" the mapping programatically and thus
sets this.

@kimchy kimchy closed this as completed in ca7cd21 Jul 30, 2011
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
Make parser instance in ScrollReader a local field. Add a block aware json 
parser implementation that tracks how deep in a nested structure it is and
allows for using logic like ParsingUtils.skipBlock combined with better 
state tracking.
jev001 pushed a commit to jev001/elasticsearch that referenced this issue Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants