Wow - thanks very much for that. I had tried against techproducts but then scratched my head about failed id. I will look closely at these now.
Again, really appreciate your prompt and helpful response. -----Original Message----- From: Shawn Heisey <apa...@elyograg.org> Sent: Tuesday, 17 January 2023 1:43 PM To: users@solr.apache.org Subject: Re: Solrj error: You must type correct path CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe: On 1/16/23 15:27, Phil Scadden wrote: > So starting to update ancient solr app to 9.1 and also the SolrJ > indexer. When I try to add a document, I am getting Exception in > thread "main" > org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrExcepti > on: Error from server at http://my.host:8983/solr/qmap: Searching for > Solr You must type the correct path Solr will respond > > I can see the qmap core in the solr admin and solr is running. Does the qmap core have the /update/extract handler defined? When I try your code against a core using sample_techproducts_config (which DOES have the /update/extract handler defined) I get a different error: Caused by: org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr: Document is missing mandatory uniqueKey field: id If I change the setParam from "id" to "literal.id" then it works. Thanks, Shawn Notice: This email and any attachments are confidential and may not be used, published or redistributed without the prior written consent of the Institute of Geological and Nuclear Sciences Limited (GNS Science). If received in error please destroy and immediately notify GNS Science. Do not copy or disclose the contents.