Reputation: 10290
I have a field in elastic search with "type": "integer"
If a string (or any NaN value is passed), I want to just have it default to some integer value (like 0).
Is there a way to do this in ES?
Upvotes: 1
Views: 3593
Reputation: 19253
There is a way you can do it.
Upvotes: 3