I'm trying to index a tweet with author name as the Document Id. We have a requirement which requires us to have some names with special characters like @ symbol. After some trials it seems that it is not possible to use @ symbol in the Id field. PFB an example which I tried and got an error in response.
I faced same problem with # symbol as well, could not use an id with # in
I'm trying to look for resources which can help me with this problem. From a lot of documentations and responses from people it seems that Elastic does not restrict any characters in the Id field. I'm very surprised to experience this behavior.
Could someone provide their inputs on this?