docs: private void esIndex(String index, String id, String json, String pipeline) {
          logger.debug("Indexing {}/{}?pipeline={}", index, id, pipeline);
          logger.trace("JSon indexed : {}", json);
  
          if (!closed) {
              esClient.index(index, id, json, pipeline);
          } else {
              logger.warn("trying to add new file while closing crawler. Document [{}]/[{}] has been ignored", index, id);
          }
      }