-
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
More details on exception when having a nested
field with date_range
and include_in_root
set
#89164
Comments
I am getting running into the same issue using other data types (in my case with For instance, if I create an index with
With this index the following ingestion will work:
However, if I change the data type to
... the same ingestion command will fail with the error "DocValuesField "user.first" appears more than once in this document (only one value is allowed per field)".
The interesting thing is that the following command works:
So it looks like there is only an issue when there is an array of nested objects using |
Any updates about this issue? It would be nice to understand the root cause of this issue. The described behavior is a bug that only surfaces with certain data types when using nested with |
I'm having this issue too. it seems both |
Any update about this issue? I'm facing the same one and it would be nice to know why and how we can fix it... |
Pinging @elastic/es-search (Team:Search) |
This is the same issue as #70261. Field types that store information in a lucene binary doc values field don't work with We have a couple of options I think:
|
Would lucene issue #11702 fix this problem? |
@romseygeek any plans to fix this issue? As it stands right now this is broken functionality for include_in_root and include_in_parent for certain data types. |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
Elasticsearch Version
7.14.2
Installed Plugins
No response
Java Version
bundled
OS Version
ESS
Problem Description
We get an exception when we have multiple nested documents all trying to add a binary doc values field to the root doc.
This exception appears since Lucene only lets you add a single instance of a binary doc values field to a document.
Would be nice to have a more detailed exception message to actually understand what is happening.
Steps to Reproduce
Creating a sample index with the
nested
type, and having adate_range
field:Trying to ingest one document:
We get the next exception:
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: