How to index mongoose-timestamp in elastic search
Have you tried mapping the date as per the docs?So, something like
var ExampleSchema = new Schema({ // Date (core type) createdAt: {type:Date, es_type:'date', es_indexed: true}, updatedAt: {type:Date, es_type:'date', es_indexed: true} }, { timestamps: true })