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

Wrong DynamicField type in ES #5

Open
lis975 opened this issue Aug 20, 2024 · 0 comments
Open

Wrong DynamicField type in ES #5

lis975 opened this issue Aug 20, 2024 · 0 comments

Comments

@lis975
Copy link

lis975 commented Aug 20, 2024

When you create dynamic filed (DF) type "dropdown list" and set keys and values like this:
key: 2700 value:2700
key: 2201 value:2201
key: 2410 value:2410
key: 2511 value: 2511
e.t.c.
and finally last pair of data:
key: nd value: nd

If you create in ES the new ticket index and send tickets data to build it this happens:

  • if the first DF occurrence in ticket sent to ES has numeric value/key: the field in ES is recognized as type DATE.
  • If first DF occurrence in ticket has value/key "nd" the ES field type is recognized as text.
    The problem is, that when ES sets field type to date (incorrect), the value/key "nd" causes an error because "nd" cannot be converted to date type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant