Daniel-KM / Omeka-S-module-SearchSolr

Search Omeka resources instantly and deeply with Apache Lucene / Solr
Other
3 stars 1 forks source link

Item sets displayed on results page even though item sets were not set for indexing #4

Closed mariusst closed 3 years ago

mariusst commented 4 years ago

Item sets were not checked in the checkbox of the index settings from the Search module, but they are displayed first in the search results. To test this bug please make a search in our dev installation at this link https://dev.bibliotecaarad.ro/s/periodice/cautare

My setup:

Daniel-KM commented 4 years ago

It's strange; if item sets are in the results, it means that they were indexed inside Solr. Did you reset the Solr index? Can you do a full reindexation (in Search > reindex all), without setting a number in the sidebar)?

mariusst commented 4 years ago

I did a re-index and have the same problem.

I also noticed that even if you navigate to the next page of the search results the item sets are displayed, as if they are not part of the results page but rather hard coded into the template page.

Daniel-KM commented 3 years ago

I find the issue, I'm fixing it.

Daniel-KM commented 3 years ago

The fix will be released Monday.

Daniel-KM commented 3 years ago

There is a fix for Search. I'll release them as a new version once you indicate the issues are fixed.

mariusst commented 3 years ago

I reinstalled the module with the latest commit https://github.com/Daniel-KM/Omeka-S-module-SearchSolr/commit/6eca5611272c65e0c38c6b49ca1824679ad94cdb and I reindexed. The issue is still present

Daniel-KM commented 3 years ago

I find the issue, it's only a template one: when there is no results, it displays all resources... It's not related to this module, but to Search. See Daniel-KM/Omeka-S-module-Search@c66bdf5.