Newer
Older
reseda-search / config / default.json
{
  "host": "0.0.0.0",
  "port": 3000,
  "elasticsearch": {
    "scheme": "http",
    "host": "localhost",
    "port": 9200,
    "username": "elastic",
    "password": "changeme"
  },
  "indices": {
    "tokens": "tokens",
    "employees": "employees",
    "structures": "structures"
  },
  "params": {
    "size": {
      "max": 1000,
      "default": 25
    }
  },
  "docUrl": "docs",
  "fields": {
    "employees": [
      "nomUsage",
      "prenom",
      "UUIDPersonne",
      "affectationAdministrative.codeUnite"
    ],
    "structures": [
      "codeUnite",
      "intituleUnite"
    ]
  },
  "scroll": {
    "time": "5m",
    "employees": "thisIsAScrollId",
    "structures": "thisIsAScrollId"
  },
  "masterToken": {
    "token": "b1230abd533c8e9c41cb9e562b1b2017bcb968322dacd973162ce5135baf15b8",
    "params": {
      "scope": [],
      "fields": {
        "employees": [],
        "structures": []
      },
      "metadata": {
        "application": "@metadore/reseda-search",
        "tags": ["apiKey", "@metadore/reseda-search"]
      }
    }
  },
  "token": {
    "key": "",
    "params": {
      "scope": [],
      "fields": {
        "employees": [],
        "structures": []
      },
      "metadata": {
        "application": "",
        "tags": []
      }
    }
  }
}