docs: static void deleteDocument(SolrClient client, String lang, String word) throws IOException, SolrServerException {
  
          if ((null == client)
              || CmsStringUtil.isEmptyOrWhitespaceOnly(lang)
              || CmsStringUtil.isEmptyOrWhitespaceOnly(word)) {
              return;
          }
  
          // Make sure the parameter holding the word that should be deleted
          // contains just a single word
          if (word.trim().contains(" ")) {
              final String query = String.format("entry_%s:%s", lang, word);
              client.deleteByQuery(query);
          }
      }