-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
A problem involving parent-child documents and using top_hits #28478
Comments
@zp-shadowolf Can you tell what ES version you're using? This type of error has been reported before and general validation mechanism is needed to prevent this error #23290, but I'm still unsure how this can happen in your case, because in previous reports a |
Yes, es now can not use more than one type in the same index, so the user and session are using the same type, using the join method. |
@zp-shadowolf Can you share your mapping or at least the relevant portions of it? |
@zp-shadowolf Can you please provide the mappings and ES version or will be closing the issue as we don't have enough feedback. |
No further feedback. Closing this issue but if you have the requested information can you share it and we can look at reopening the issue |
Error Description
Index ptedata designed two documents, the session and user. User for the session's parent document. Two documents have same fields (only save the contents of different), only through an rs_type field to distinguish session or user. When aggs use top_hits return field content, but returned the following error.
Code
Error
Thank you very much for your help.
The text was updated successfully, but these errors were encountered: