Special Characters saving issue in Elastic Search


(alingam@spglobal.com) #1

Hi Team,

I am trying to save the special character '%' in Elastic Search but it is not saving correctly in Elastic Search.

Here is my log message : "Like '%12:00AM%' OR"

Elastic Search saved message: "Like ':00AM%' OR"

'%12:00AM% word is saving as
Can you please look into this.

Thanks.


(Zachary Tong) #2

Can you provide the _source of the document when you do a GET request? E.g.

GET /my_index/my_type/123

I suspect this is something wrong with the UI you are using to consume the data, rather than Elasticsearch itself. ES doesn't care about the characters in a string as long as they are escaped properly.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.