Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在做一个项目,每次操作后都会生成一个日志。每当使用此文件的路径作为参数生成新日志时,是否可以调用 DIH?
就我个人而言,我没有尝试过这样做,但是有很多像this和this以及博客文章这样的例子(还有问题)......我不知道你的日志格式但是如果你可以从XML中看到它是否可能链接,它也可以应用于您的案例...
另一种解决方法可能是使用 cronjob 或其他东西在每 5 或 10 分钟的时间段内发布您的日志......或者直接检测日志创建,然后将其发布到 solr 服务器。