Currently, I am using Elasticsearch version "5.3.2".I am developing an application in Nodejs and MongoDB(For Elasticsearch I am using mongoosastic npm module).
I am performing a search query which is working fine.
The problem is search result is not returning the Object Id(mongoose object id) and other fields like createdAt and updatedAt.
you might have more luck asking this in the mongoose forums, as this sounds very mongoose specific to me, finding out why certain fields are included in mongoose or not.
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.