Trying to get the SearchSolr module working but having trouble connecting to my local solr. I propped up a simple solr docker container:
docker run -p 8983:8983 -d solr
and created an omeka core using:
/opt/solr/bin/solr create -c omeka -n data_driven_schema_configs
I’m able to query the core:
But in the search manager I have the error message “Solr HTTP error: HTTP request failed”.
My config is as follows:
I’m sure I must be missing something simple but it’s driving me up the wall.
Hi @sunny.moon-schott ,
I just set up a new instance following your steps to set up Solr and have the same core settings and it seems to be working fine:
I’m kinda wondering if it has to do with how Omeka is installed. Are you running it in a container so Omeka isn’t talking to the Solr container, but rather it’s own? I would just make sure that Omeka is talking to the Solr container (in other words, by changing hostname).
I’m using the built in web server in the Intellij IDE to run it locally, so it should be able to see it. I’ve tried both localhost and 127.0.0.1 but no dice. Thanks for trying anyway.
Figured it out. Just had to give the solr docker container more resources. Omeka’s requests to solr were timing out. Would be useful to have the rest of the error message display when timeouts happen.
1 Like