Hi!
I'm currently only experimenting with elasticsearch. Final goal will be to use it for our production data.
While experimenting I came across the fact that you can supply the id yourself. I think this could be very handy as some of the data we have can change over time (to be specific: Only once).
As the data already has an ID (number, counted up) I want to use that. Unfortunately I have to split the data into multiple entries in order to use it in elasticsearch, so I want to append a fixed string to every ID to make it unique. Example:
Given I have data like this:
"id":123, "events":"{ 'A':1, 'B':2, 'C':3}"
I want to split it into
"id":123A, "event":"A", "value":1
"id":123B, "event":"B", "value":2
"id":123C, "event":"C", "value":3
Are there any limitations on the id I have to observe? My "A", "B", "C" is not just one letter but an arbitrary identifier.