Closed mariusst closed 3 years ago
Yes, here the fields are undefined. Can you show me the config of the search page ? Or try to resave it first.
Here is a screenshot of the config search page
Indeed, the issues are indicated in the form : the item set id, the resource class id and the template id should be added in fields, so I had the same issue and I added this message in the form because it was simpler to fix in the config of the form than in the module. It will be a future improvement, but for now, it's only a message. So use a form that manages these three fields (even if they are not displayed).
Daniel, thank you for you answer but I'm not sure if I understood. Are these filters fixable or yet to be implemented? If they are fixable, what do I have to do to add the ids in the fields and what form to use and where?
No, they are already implemented. In fact, the module Search doesn't know the config of Solr. So you have to include them in the config of Solr: then choose it in the search form.
The option can be set automatically if you use special form, like the PSL Search Form. In a next version, I'll include them directly in Search to simplify.
I added the Item set field in Solr config. Then I did a reindex of solr, but still get the same error. If I check the schema in the admin interface of solr I don't see no Item Set field there. Please check the attached screenshots
I'm only interested in Item set filter, but I also set and tested the template and resource class filters and have the same problem
If i try to make a search for a keyword and filter the results using either item sets, resource class or resource template filter I get the following errors and no search results:
My setup: