jbdemonte / mongoose-elasticsearch-xp

A mongoose plugin that indexes models into Elasticsearch 2 / 5 / 6 and 7
93 stars 34 forks source link

added httpAuth to options #75

Open itswadesh opened 3 years ago

itswadesh commented 3 years ago

Required for password protected elastic search client

itswadesh commented 3 years ago

Hi,

In elasticsearch package auth has been renamed to httpAuth.

Hence in client.js it is required to explicitly specify in order to authenticate http requests