🪢 Refactoring elasticsearch configuration

This commit is contained in:
2022-01-14 09:10:55 -08:00
parent ee4b543991
commit 16a0a8c733
6 changed files with 14025 additions and 2640 deletions

View File

@@ -3,8 +3,9 @@ var mexp = require('mongoose-elasticsearch-xp').v7;
const paginate = require("mongoose-paginate-v2");
const { Client } = require("@elastic/elasticsearch");
console.log("YENADADADADA", Client)
const eSClient = new Client({
node: "http://ghost:9200",
node: "http://tower.local:9200",
auth: {
username: "elastic",
password: "password",