I have UTF-8 characters ingested into Elastic search. They got ingested as Json String. When I try to search the documents using Search Query I am getting Parse Error as below:
Parse Error:
reason : Cannot parse 'm-attributes.a_path_url:Gällande/PP/Batchprotocololl Kvalitetskontroll/lk000131.pdf' Lexical error at line 1 ,column 82. encountered after "/lk000131.pdf""
just an assumption here: maybe the URL encoding on your side is not correct. In order to rule that out, can you use a the body of a HTTP request for search and use something like this
All the elasticsearch versions support this kind of query since the very early beginning.
I would always opt for the approach I outlined compared to passing the query as part of the URL and have the hassle of proper URL encoding and escaping.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.