@Override
  public void deleteNoteIndex(String noteId) {
    try {
      deleteDoc(noteId, null);
      deleteParagraphIndex(noteId, null);
    } catch (IOException e) {
      LOGGER.error("Unable to delete note {}", noteId, e);
    }

  }
@Test
  void canDeleteNull() {
    // give
    // looks like a bug in web UI: it tries to delete a note twice (after it has just been deleted)
    // when
    noteSearchService.deleteNoteIndex(null);
  }