kuzzle 2.16.5 → 2.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -237,6 +237,12 @@ class ElasticSearch extends Service {
237
237
  let size = 0;
238
238
 
239
239
  for (const [indice, indiceInfo] of Object.entries(body.indices)) {
240
+ // Ignore non-Kuzzle indices
241
+ if ( indice[INDEX_PREFIX_POSITION_IN_INDICE] !== PRIVATE_PREFIX
242
+ && indice[INDEX_PREFIX_POSITION_IN_INDICE] !== PUBLIC_PREFIX ) {
243
+ continue;
244
+ }
245
+
240
246
  const alias = await this._getAliasFromIndice(indice);
241
247
  const indexName = this._extractIndex(alias);
242
248
  const collectionName = this._extractCollection(alias);
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuzzle",
3
- "version": "2.16.5",
3
+ "version": "2.16.6",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kuzzle",
3
3
  "author": "The Kuzzle Team <support@kuzzle.io>",
4
- "version": "2.16.5",
4
+ "version": "2.16.6",
5
5
  "description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
6
6
  "bin": {
7
7
  "kuzzle": "bin/start-kuzzle-server"