code: public Document createRaw(@NonNull String id, @NonNull String content, @NonNull Language language, @NonNull Map<AttributeType, ?> attributeMap) {
        Document document = new Document(id, content, language);
        document.putAll(attributeMap);
        document.setLanguage(language);
        return document;
     }
docs: Creates a document with the given id and content written in the given language having the given set of attributes.
  This method does not apply any {@link TextNormalizer}
  
  @param id           the id
  @param content      the content
  @param language     the language
  @param attributeMap the attribute map
  @return the document