I'd like to access a postgres database from my custom SearchComponent but unfortunately, I get the following error:
... when I try to connect to the database using:
I already use the DataImportHandler using the Postgres JDBC driver successfully. I tried putting the driver's jar in different locations:
- /opt/solr/dist (with added <lib ... /> entry in solrconfig.xml)
- /opt/solr/server/solr/lib (lib-folder in the solr.solr.home directory)
But nothing worked so far... How can I get the driver loaded in my custom SearchComponent?
I'd really appreciate your help.