After hearing from a few people who were able to get DIH to keep working by 
building the jars into Solr 9, I did go back and eventually build a custom Solr 
image with the jars I needed in place and I did get that to work with a Solr 8 
base image. I haven't tried with Solr 9 yet. In hindsight, building the jars 
into the image is what I should have tried first. Long term I think we probably 
need another solution, but I am relieved to have something running.

I'll take a look at the coordinator node. Thanks for the tip.

-Sarah

On 5/30/25, 5:30 PM, "Mikhail Khludnev" <m...@apache.org 
<mailto:m...@apache.org>> wrote:


External Email - Use Caution


Hello Sarah.


It's hard to propose to stay on DIH, but fwiw, couldn't it still be
deployed by placing jars into some /lib dir and cofiguring like in the good
old days? I guess it still works and suits fine for custom images, where
there's no need in runtime plugin deploy.
Also, recently I added an ability to work in coordinator node in SolrCloud
https://urldefense.com/v3/__https://github.com/SearchScale/dataimporthandler/pull/62__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!y0XysA1BkGl7y928FGeslfKYcmj4SMarwfTGmHBoFVQKywOKCay0rtKQjxAhFucjpFWamUMmdwy6Hg$
 
<https://urldefense.com/v3/__https://github.com/SearchScale/dataimporthandler/pull/62__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!y0XysA1BkGl7y928FGeslfKYcmj4SMarwfTGmHBoFVQKywOKCay0rtKQjxAhFucjpFWamUMmdwy6Hg$>
Regarding alternatives, I looked into Apache Hop, but found it difficult to
build a proper payload without a proper SolrOutputPlugin, haven't got a
chance to implement it either.




On Thu, May 29, 2025 at 7:43 PM Sarah Weissman <sweiss...@stsci.edu 
<mailto:sweiss...@stsci.edu>> wrote:


> Hi all,
>
> We’ve been using Solr with DIH for about 8 years or so but now we’re
> hitting an impasse with DIH being deprecated in Solr 9. Additionally, I’m
> looking to move our Solr deploy to Kubernetes and I’ve been struggling to
> figure out what to do with the DIH component in a cloud setting. I was
> hoping to get something that replicates our current setup up ad running
> pretty quickly, but our DIH implementation has some custom code and I’m
> unable to get the jar dependency to load as a runtime library from the blob
> store with Solr 8. Maybe this isn’t possible with DIH? I’ve never used the
> runtimelib feature before and I have been unable to get the examples from
> the docs to work because the jars are too old. The next thing I would try
> is building my own custom image of Solr that includes the jar I need, but
> I’m also hesitant to spend a bunch more time on making deprecated features
> in Solr 8 work.
>
> Unfortunately, I’ve also been unable to get the new DIH 3rd party plugin
> to work with Solr 9 and I’ve found the plugin commands with the solr script
> to be pretty finicky and the syntax changes between 8 and 9 frustrating as
> I switch between versions trying to get something to work as documented.
> I’m really not in a position where writing my own plugin is feasible at
> this point.
>
> I’ve been banging my head against this all week and I’m trying to figure
> out the best way forward at this point. Is DIH still a viable option or
> should I be moving off of that something else? Any advice or perspectives
> on this would be appreciated.
>
> Thanks
> Sarah
>




--
Sincerely yours
Mikhail Khludnev



Reply via email to