The DIH does not yet support Solr 9 but I don't think it'll be long before
it does.
https://github.com/rohitbemax/dataimporthandler/issues/32

Note the dubious choice of the word "deprecated" was used because it's no
longer a part of Solr.  Practically speaking, it *moved* and isn't gone.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley


On Fri, Jul 22, 2022 at 5:23 AM Charlie Hull <
ch...@opensourceconnections.com> wrote:

> You have two options basically:
>
> 1. consider using the externally maintained DIH from
> https://github.com/rohitbemax/dataimporthandler (there appears to be a
> 9.x branch)
>
> 2. move away from DIH and write new ingestor code to pull data from your
> sources
>
> Cheers
>
> Charlie
>
> On 22/07/2022 04:38, GANESHAN RAMAN wrote:
> > Dear Team,
> > Hope you are doing well,
> > So far we were using Solr 8.9.0 for one of our application which was
> using
> > DataImportHandler,
> > As we need to move to the latest version Solr9.0.0 the below
> configuration
> > is SolrCOnfig.xml is throwing an exception
> >
> "org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> > Error loading class
> 'org.apache.solr.handler.dataimport.DataImportHandler'"
> > <requestHandler name="/dataimport"
> > class="org.apache.solr.handler.dataimport.DataImportHandler">
> > <lst name="defaults">
> > <str name="config">dbconfig.xml</str>
> > </lst>
> > </requestHandler>
> > *We understand that DataImportHandler which was deprecated in the earlier
> > version is now completely removed from Solr9.0*, We need to retain this
> > tool (DIH) along with latest solr9.0,
> > So can you please advise us how can this issue be resolved as this is
> > becoming a blocker for continuing with the latest version.
> > Thanks in Advance.
> >
> > Thanks,
> > Ganeshan
> >
> --
> Charlie Hull - Managing Consultant at OpenSource Connections Limited
> Founding member of The Search Network <http://www.thesearchnetwork.com>
> and co-author of Searching the Enterprise
> <
> https://opensourceconnections.com/wp-content/uploads/2020/08/ES_book_final_journal_version.pdf
> >
> tel/fax: +44 (0)8700 118334
> mobile: +44 (0)7767 825828
>
> OpenSource Connections Europe GmbH | Pappelallee 78/79 | 10437 Berlin
> Amtsgericht Charlottenburg | HRB 230712 B
> Geschäftsführer: John M. Woodell | David E. Pugh
> Finanzamt: Berlin Finanzamt für Körperschaften II
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>

Reply via email to