code: public static QueryTextIndexServiceImpl<Document> documentsService(final HodServiceConfig<?, TokenType.Simple> hodServiceConfig) {
          return new QueryTextIndexServiceImpl<>(hodServiceConfig, Document.class);
      }
docs: Creates a new QueryTextIndexServiceImpl of type {@link Document}
  @param hodServiceConfig The configuration to use
  @return A new {@literal QueryTextIndexServiceImpl<Document>}