Are you sure you have the request handler for /update/extract defined
in your solrconfig.xml?
Not all the update request handlers are defined explicitly (you can
check with Config API - /solr/hadoopDocs/config/requestHandler), but I
am 99% sure that the /update/extract would be explicit because it
needs Tika, which means a library statement to load the jar as well.

The latest Solr does not have this handler in the default
configuration, so if you bootstrapped from that, this is the most
likely cause. But the non-default techproducts one does. So, you could
copy the lib directive (contrib/extraction) and the request handler
(/update/extract) to your config's solrconfig.xml and - after
restarting the core - it may work.

Regards,
   Alex.
P.s. The relevant solrconfig.xml is in
solr-8.6.1/server/solr/configsets/sample_techproducts_configs/conf ,
but make sure to not modify things anywhere in that path, just copy
from it.

On Thu, 5 Nov 2020 at 11:40, Bruce Campbell
<bruce.campb...@peopletec.com> wrote:
>
> Thanks for your reply. I am using the Solr (or lucene) web site as a test 
> site so my collection name is "solr". I think the first solr is part of the 
> part of the url that the solr application uses while the second one is the 
> name of the collection. Here is the same message when I tried to use a 
> collection called hadoopDocs:
>
> SimplePostTool: WARNING: Solr returned an error #404 (Not Found) for url: 
> http://localhost:8983/solr/hadoopDocs/update/extract?commit=true
>
> If I am wrong, please correct me.
>
> Thanks again for your reply,
> Bruce
> -----Original Message-----
> From: Vincenzo D'Amore <v.dam...@gmail.com>
> Sent: Thursday, November 5, 2020 9:42 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Trouble with post.jar
>
> I see there are two solr in the url path, very likely you typed the wrong 
> Solr host parameter
>
> http://localhost:8983/solr/solr/update/extract?commit=true
>
> Ciao,
> Vincenzo
>
> --
> mobile: 3498513251
> skype: free.dev
>
> > On 5 Nov 2020, at 16:27, Bruce Campbell <bruce.campb...@peopletec.com> 
> > wrote:
> >
> > http://localhost:8983/solr/solr/update/extract?commit=true

Reply via email to