技术文章 - CS368366

Windchill PDMLink 中的 Solr 日志中出现消息“org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException:您的文档包含的字符数超过 1048576 个”

已修改: 03-Sep-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 10.0 F000 to 12.1.1.0

说明

  • Solr 日志中打印了以下信息:
    org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException: Your document contained more than 1048576 characters, and so your requested limit has been reached. To receive the full text of the document, increase your limit. (Text up to the limit is however available)
  • 某些文档无法通过关键字搜索或全局搜索找到,可以通过高级搜索使用名称编号条件找到
  • Solr 日志中的消息
    org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException: Your document contained more than 1048576 characters, and so your requested limit has been reached. To receive the full text of the document, increase your limit. (Text up to the limit is however available).
    at org.apache.tika.sax.WriteOutContentHandler.characters(WriteOutContentHandler.java:141)
    at org.apache.tika.sax.ContentHandlerDecorator.characters(ContentHandlerDecorator.java:146)
    at org.apache.tika.sax.xpath.MatchingContentHandler.characters(MatchingContentHandler.java:85)
    ...
    
这是文章 368366 的 PDF 版本,可能已过期。最新版本 CS368366