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$RemoteSolrException: 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