Skip to content
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

Solr server not working and facets is not working #471

Open
elmcip opened this issue Sep 11, 2021 · 10 comments
Open

Solr server not working and facets is not working #471

elmcip opened this issue Sep 11, 2021 · 10 comments

Comments

@elmcip
Copy link
Collaborator

elmcip commented Sep 11, 2021

The issue arrives after you search a term and then try to Filter by
Content Type.

So, let's say you search "game".

It takes you to this page: https://elmcip.net/search/game

But then when you click the Creative Work filter box, you get this url:
https://elmcip.net/?f%5B0%5D=type%3Awork

It does this for any search term.

So it's not actually filtering the results. Instead it's just pushing
you back to the main page, more or less.

@hannahackermans
Copy link
Collaborator

Yes, I was just contacted by a student about this error. I told them to use google search (ie "elmcip.net: game") while we are fixing this.

Is this connected to the NIRD maintenance or is it an error of our own?

@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

Might be related to the changes NIRD did last week. Anyway, I have notified NIRD support, switch our search backend to our backup solution and rebuilt the search index. Search should in the mean time work as expected.

As soon as the https://solr.apache.org/ is stable again I'll switch back the search back end.

@steinmb steinmb changed the title Broken search Solr search not working Sep 27, 2021
@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

I see... we have two issues in here....

@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

We rolled this change in august to the search api. It might have broken our search...

commit a682f6c7d7ad62d53764d44c478aa763677bdbb2
Author: Stein Magne Bjorklund [email protected]
Date: Tue Aug 24 10:19:35 2021 +0200

Search API (search_api)  7.x-1.27 -> 7.x-1.28

https://www.drupal.org/project/search_api/releases/7.x-1.28

@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

Yes, the original issue reported by @elmcip is prob from https://www.drupal.org/node/2159827 - Seems to have broken the search for other to.

@steinmb steinmb added the bug label Sep 27, 2021
@steinmb steinmb changed the title Solr search not working Solr server not working and facets is not working Sep 27, 2021
@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

Rolled a change to test

commit 4c9c5b2 (HEAD -> master, origin/master, origin/HEAD)
Author: Stein Magne Bjorklund [email protected]
Date: Mon Sep 27 15:09:42 2021 +0200

Search API 2159827 - base path missing

    Rolling 2159827 #35 patch to make facets work.

@steinmb
Copy link
Collaborator

steinmb commented Sep 27, 2021

NIRD got Solr up and running again. Switched search back to Solr. Tested ELMCIP and CELL. Looks OK.

Facet problems

Rolled a temporary fix until it get officially fixed by the maintainers of the Search API.
https://elmcip.net/story/elmcip-and-cell-v1392-released

@steinmb steinmb removed their assignment Sep 27, 2021
@steinmb steinmb self-assigned this Nov 12, 2021
@steinmb
Copy link
Collaborator

steinmb commented Nov 12, 2021

Postponed until there is an official fix. The patch in production works for us but not for everybody: https://www.drupal.org/project/search_api/issues/2159827

@elmcip
Copy link
Collaborator Author

elmcip commented Aug 10, 2023

Huh. Was this ever fixed in production? Faceted search is having problems. For example, Caitlin Fisher has a lot of works in creative works that are not turning up with the creative work facet checked. So if this was fixed it seems to be back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants