-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check on compatibility with Solr 5 #123
Comments
No. Well, indexing works. Search doesn't. I'm pushing this off for the next release, though. |
Not sure if this 18 month old issue is still relevant, but here are the changes I had to make to the solrconfig.xml
schema.xml
I think that probably the schema changes would be compatible with Solr 4. Not sure about the config ones. |
Thanks for sharing this. I can confirm above changes also work with Solr 6.3 |
Excellent advice @mikesname. Just got it working with Solr 6.3.0 too @benjaminh. |
Hi benjaminh and MNicolou, I am still having trouble making this to work. Could you please share some details of your setup? Particularly
Thanks in advance for your help. |
|
Thanks benjaminh! I installed the standalone server and passed all the test in quickstart. core was added. but http://solrserver:8983/solr/omeka shows 404 error In omeka SolrSearch plugin config page: any ideas? Thanks again! |
I'm not expert in solr, so I can only compare with my config.
|
benjaminh, thanks for your continued assistance. on solr server: cd /root #below is the output of the script: Creating new user: solr Next, I stoped the solr service: service stop solr #restart solr server Then I went to Omeka SolrSearch plug in configuration page on the webserver and press "save setting" and the page just says: Solr connection is invalid. Same thing if I install Solr on the same server as Omeka (i.e. on the webserver and use localhost in "Server Host" field. I am not sure what i am doing wrong so that the handshaking btw omeka and solr does not happen. Thanks for reading and helping! |
One thing seems suspicious : when you copy solrsearch omeka core to solr installation, you mentioned |
that was a typo in the reply. yes it was copied into the solr directory. |
Simply with command line : |
ok. i made a little progress, but still not there yet. I am running out of thoughts! |
Hi, I have followed the apache quick guide. I decompressed solr on /home/user/bin/solr/ and launch it with:
At this point, I am able to access to the solr administration interface (http://localhost:8983/solr/). The problem is about the omeka core. I copied solr-core/omeka to /home/user/bin/solr-6.4.1/server/solr and restarted solr but the new core is not recognized. I tried also to put it with /home/user/bin/solr-6.4.1/example/cloud/ without success. Is there something to do to install the omeka core? |
@guitarscape I recently had some issues establishing a connection between two virtual machines (one for omeka, and one for solr). I don't know if this can help, but I found out that the "Solr connection is invalid" message is just the result of a http request to the solr instance (see |
@pprw In the dashboard of the solr administration interface, among JVM settings, you should check that |
I followed @mikesname amendments and the plugin works for me with Solr 7.0.1 too. However, with many warnings in logs. Hopefully this plugin is going to be adjusted for newer Solr? EDIT: I only noticed a warning at the bottom of the page upon triggering a search: |
@benjaminh I was following @guitarscape's issues with configuring the server and a "Solr Connection Is Invalid Message." I made the solrconfig.xml and schema.xml amendments and have the Omeka core successfully running in Solr 7.0.1. I am getting the same message, but the ping URL isn't displaying any errors. Any suggestions? Thank you |
hi germanychad, two things i would suggest that you test is 1. disable SELinux and/or 2. disable firewall good luck. |
I followed @mikesname s solution to modifying the files @piotreba , I ran into the same issue you did. Omeka has been updated since this plugin was last updated. On newer versions the SolrSearchField function takes and utilizes an argument in beforeSave(). This plugin uses the old version that doesn't supply one, so the argument is not needed. You can just add $args to the function declaration at the bottom of SolrSearchFile.php in \plugins\SolrSearch\models\SolrSearchField.php so that it matches the interface. |
No description provided.
The text was updated successfully, but these errors were encountered: