Elasticsearch not returning mongoose object id

(Moumita Mandal) #1


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.

Please help me to solve this problem.

(Alexander Reelsen) #2


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.


(system) #3

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