Depending on the version you're using, you should have a field ID.keyword. That is the one that isn't analyzed so it should have the full ID in it. If you don't have it, you'll have to change the type to keyword on ingest instead of text. https://www.elastic.co/guide/en/elasticsearch/reference/current/keyword.html
Yes you are right, Earlier my field type was just text, I updated my mapping to field type to keyword and then ID.keyword is coming for new index. Also i did re-index the older indices so that same have to apply for the rest of the indcies as well.
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.