技术文章 - CS249021

Windchill 索引搜索 (Solr) 失败,并在 Windchill PDMLink 中显示“错误 404”

已修改: 05-Sep-2023   


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

适用于

  • Windchill PDMLink 11.0 M010 to 12.1

说明

  • Windchill Index Search (Solr) 失败并显示“错误 404”
  • 执行全局搜索时出现 UI 错误
The index search function is not available, an attribute search has been used. The search results may not contain all of the objects you expected. Please contact your Windchill system administrator.
  • 所有对象的批量索引失败并显示“错误 404”
  • BackgroundMethodServer 日志中出现错误
ERROR [BulkIndexContentQueue1.PollingThread] wt.index.SolrIndexer Administrator - Error in delete method 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://<server>:8085/Windchill-Solr/wblib: Expected mime type application/octet-stream but got text/html. <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 </title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /Windchill-Solr/wblib/update. Reason:
<pre>    Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

    at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:543)
    at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
    at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
    at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:150)
    at wt.index.service.SolrServiceImpl.deleteDocumentByQuery(SolrServiceImpl.java:135)
    at wt.index.SolrIndexer.delete(SolrIndexer.java:103)
    at wt.index.SearchCoreManager.delete(SearchCoreManager.java:35)
    at wt.index.SearchCoreManager.index(SearchCoreManager.java:73)
  • BackgroundMethodServer 日志中出现错误
ERROR [BulkIndexContentQueue1.PollingThread] wt.index.SolrIndexer Administrator - re-throwing any other exception
ERROR [BulkIndexContentQueue1.PollingThread] wt.index.AbstractCoreManager Administrator - Failed to index: <ida2a2>
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://<solr-URL>:8085/solr/wblib:
ERROR: [doc=VR:wt.doc.WTDocument:Ida2a2] Error adding field 

这是文章 249021 的 PDF 版本,可能已过期。最新版本 CS249021