Article - CS249021

Windchill Index Search (Solr) is failing with "Error 404" in Windchill PDMLink

Modified: 05-Sep-2023   


Applies To

  • Windchill PDMLink 11.0 M010 to 12.1

Description

  • Windchill Index Search (Solr) is failing with "Error 404"
  • UI Error appearing while performing global search                
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.
  • Bulk Indexing is fails for all objects with "Error 404"
  • Error in BackgroundMethodServer log
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)
  • Error in BackgroundMethodServer log      
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 

 
 
This is a printer-friendly version of Article 249021 and may be out of date. For the latest version click CS249021