missed a file

Signed-off-by: Andrew Ochsner <andrew.ochsner@cognizant.com>
This commit is contained in:
Andrew Ochsner
2023-10-29 13:56:37 -05:00
parent b8ce15b1e5
commit 6fc10ed06e
@@ -96,7 +96,7 @@ export class ElasticSearchSearchEngineIndexer extends BatchSearchEngineIndexer {
index: { _index: that.indexName },
};
},
refreshOnCompletion: !options.skipRefresh && that.indexName,
refreshOnCompletion: options.skipRefresh !== true && that.indexName,
});
// Safely catch errors thrown by the bulk helper client, e.g. HTTP timeouts