I am pretty new to Omeka and it’s the first time I’ve tried to use Solr on it, so I’m sorry if the answer is obvious. I use the v. 2.0.2 of Omeka-S and I’m trying to use the Solr module (v. 0.5.0) and the Search module (v. 0.5.0) . I have also install the Jquery-UI module which is needed.
I have follow the instructions from the github page :
_I installed the Solr instance
_ I have configured the Solr module (host, port, etc.)
_I have created a new index in the search module and I managed to launch the “reindex button”.
_I have created a new page in the search module but after filling in the first page (with name, path, index and form) this error appears on the second page :
Notice: Undefined variable: facetFields in /sites/rita/www/web_main/modules/Solr/src/Adapter.php on line 134
Warning: count(): Parameter must be an array or an object that implements Countable in /sites/rita/www/web_main/modules/Search/src/Form/Admin/SearchPageConfigureForm.php on line 69
Warning: Invalid argument supplied for foreach() in /sites/rita/www/web_main/modules/Search/src/Form/Admin/SearchPageConfigureForm.php on line 72
And I think I don’t have all the option available because I cannot enable or disable facet and sort fields.
Also when I’m reaching the page with the search bar and I’m lauching a search, there is no result, but I assume this is related to a problem that I mentionned before.
For the other point, it’s a bug (that doesn’t appear with another module I use). It will be fixed Monday with the next release.
And this is still an experimental feature.
Thanks a lot for your answer @Daniel_KM, I will wait the next release and keep you inform.
About the problem with the indexation, indeed the problem came form the mapping, I checked it and I replaced the Solr field which is attached to dcterms_temporal by another and then the indexation worked for all my items.