Skip to content

dataimporthandler for solr 10.0.0 #96

@zniff

Description

@zniff

Hi everybody

I quickly tried to run the dataimporthandler on the latest Solr version 10.0.0 and it ended with:

Exception in thread "Thread-3" java.lang.NoSuchMethodError: 'java.lang.String org.apache.solr.core.SolrResourceLoader.getConfigDir()'
        at org.apache.solr.handler.dataimport.SimplePropertiesWriter.findDirectory(SimplePropertiesWriter.java:130)
        at org.apache.solr.handler.dataimport.SimplePropertiesWriter.init(SimplePropertiesWriter.java:92)
        at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:337)
        at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:420)
        at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:483)
        at org.apache.solr.handler.dataimport.DataImporter.lambda$runAsync$0(DataImporter.java:466)
        at java.base/java.lang.Thread.run(Thread.java:1474)

I know there were a lot of changes with solr 10 - it uses now EE9 (jakarta.* instead of javax.*) etc....

any chance we can get a dataimporthandler adjusted to this latest version...?
Thanks and best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions