-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
NullPointerException in Elasticsearch when adding Index Pattern in kibana #43741
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
v7.2.0
Comments
markharwood
added
:Search Foundations/Mapping
Index mappings, including merging and defining field types
>bug
v7.2.0
labels
Jul 1, 2019
Pinging @elastic/es-search |
jimczi
added a commit
to jimczi/elasticsearch
that referenced
this issue
Jul 2, 2019
This change fixes the name of the index_prefix sub field when the `index_prefix` option is set on a text field that is nested under an object or a multi-field. We don't use the full path of the parent field to set the index_prefix field name so the field is registered under the wrong name. This doesn't break queries since we always retrieve the prefix field through its parent field but this breaks other APIs like _field_caps which tries to find the parent of the `index_prefix` field in the mapping but fails. Relates elastic#43741
jimczi
added a commit
that referenced
this issue
Jul 3, 2019
This change fixes the name of the index_prefix sub field when the `index_prefix` option is set on a text field that is nested under an object or a multi-field. We don't use the full path of the parent field to set the index_prefix field name so the field is registered under the wrong name. This doesn't break queries since we always retrieve the prefix field through its parent field but this breaks other APIs like _field_caps which tries to find the parent of the `index_prefix` field in the mapping but fails. Closes #43741
jimczi
added a commit
that referenced
this issue
Jul 3, 2019
This change fixes the name of the index_prefix sub field when the `index_prefix` option is set on a text field that is nested under an object or a multi-field. We don't use the full path of the parent field to set the index_prefix field name so the field is registered under the wrong name. This doesn't break queries since we always retrieve the prefix field through its parent field but this breaks other APIs like _field_caps which tries to find the parent of the `index_prefix` field in the mapping but fails. Closes #43741
@jimczi @markharwood |
javanna
added
the
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
label
Jul 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
v7.2.0
Elasticsearch version: Version: 7.2.0
Kibana version: 7.2.0
JVM version: JVM: 1.8.0_171
OS version: Ubuntu 18.04
Description of the problem including expected versus actual behavior:
Hey,
I noticed NullPointerException in the Elasticsearch logs (
org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesIndexAction:106
) when trying to add in kibana index pattern.In addition, Kibana does not see the index fields (only meta fields).
I suspect that the reason for the problems is using
index_prefixes
.Steps to reproduce:
Exception is thrown after click Next Step
I kibana presents only meta fields
Logs:
The text was updated successfully, but these errors were encountered: