I am unable to GET text that is in decoded format. For example:
"file":
"IkdvZCBTYXZlIHRoZSBRdWVlbiIgKGFsdGVybmF0aXZlbHkgIkdvZCBTYXZlIHRoZSBLaW5nIg=="
should be decoded to "God Save the Queen" (alternatively "God Save the
King" but I am getting the same encoded content under _source. I cannot see
the fields even after storing them. Where have I gone wrong?
You are looking into the _source field which is not modified by elasticsearch.
You need to ask for your stored field at search time. Have a look at fields option in search API.
I am unable to GET text that is in decoded format. For example:
"file": "IkdvZCBTYXZlIHRoZSBRdWVlbiIgKGFsdGVybmF0aXZlbHkgIkdvZCBTYXZlIHRoZSBLaW5nIg=="
should be decoded to "God Save the Queen" (alternatively "God Save the King" but I am getting the same encoded content under _source. I cannot see the fields even after storing them. Where have I gone wrong?
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.