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

Can't search for a work from the dashboard #248

Closed
Tracked by #113
KatharineV opened this issue Oct 9, 2023 · 8 comments
Closed
Tracked by #113

Can't search for a work from the dashboard #248

KatharineV opened this issue Oct 9, 2023 · 8 comments
Labels
bug something isn't working Knapsack Upgrade

Comments

@KatharineV
Copy link

On demo.adventist-knapsack, I visited the works page of the dashboard. I was logged in as Admin@example.com. I searched for an image that I deposited in the repo via the UI. The title of the work is "baby bunny." Searching the work "bunny" in my works and in all works resulted in an error message:

Image

However, the work is listed in the dashboard. I just can't search for it. See below for screenshot of the work in the dashboard view.

Image

@KatharineV KatharineV added bug something isn't working Knapsack Upgrade labels Oct 9, 2023
@KatharineV
Copy link
Author

The failed search behavior is also present when I try to search for a collection through the dashboard.

@jeremyf
Copy link
Contributor

jeremyf commented Oct 10, 2023

Likely related to #249

jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <larita@scientist.com>
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <larita@scientist.com>
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <larita@scientist.com>
jeremyf referenced this issue Oct 10, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <larita@scientist.com>
jeremyf referenced this issue Oct 12, 2023
In looking at the responses, Solr was complaining about a missing
spellcheck.dictionary for contributor.

To get this working, we removed the `spellcheck.dictionary` declaration.
One observation we had is that matches are now only made when we type a
significant number of characters (or 2 words, we don't know what).

An observed ongoing issue is that we're only finding exact matches.

Related:

- https://github.com/scientist-softserv/adventist-dl/issues/623
- https://github.com/scientist-softserv/adventist-dl/issues/622

Co-authored-by: LaRita Robinson <larita@scientist.com>
@jillpe
Copy link

jillpe commented Oct 13, 2023

SoftServ QA: ✅ Pass!

  • Search Catalog
Screenshots

Image

  • Dashboard Search
Screenshots

Image

@KatharineV
Copy link
Author

This is not working when I search for a work or collection from the dashboard unless I search more than one word. This isn't good, because we may have collections with names that are just one word, and we certainly have words with one word titles.

Search for a collection with one word = no results.

Image

Search for a collection with two words = correct results.

Image

Search for a Work with one word = no results.

Image

Search for a Work with two words = correct results.

Image

Example of a one-word collection title on ADL prod: https://adl.b2.adventistdigitallibrary.org/collections/711704be-8da7-48e1-b2fb-34057a838779?locale=en

Example of a one-word work title on ADL prod: https://adl.b2.adventistdigitallibrary.org/concern/published_works/22250261_cardinal

These examples are proof of the concept that we do have single-word titles and need to be able to find them via the dashboard. This is especially important for collections, because we can't access the edit button from the live user view. We have to find the collection in the dashboard.

@KatharineV
Copy link
Author

This is working on the demo instance. I can search with just one keyword and the work is returned in the catalog and dashboard.

@KatharineV
Copy link
Author

KatharineV commented Apr 23, 2024

@ShanaLMoore in the post-Knapsack deployed environment, I can no longer search for collection titles using just one word (I mean in the context of the dashboard, not the catalog search). We need to be able to search and find using one word, because we have collection titles that are only one word long (example: Spectrum). I've flagged you because I'm not sure...should I create a new ticket? Or reopen this one? The problem seems similar to one that was fixed in the Knapsack demo with this ticket.

@ShanaLMoore
Copy link
Contributor

@KatharineV we already have a ticket for this. 😓 ref: #249

@ShanaLMoore
Copy link
Contributor

However I should add that, according to @laritakr and even better solution has been contributed back to hyku from pals. When we upgrade you again, you should receive it.

However in the meantime, tagging me on this is helpful to know we've seen and have fixed similar behavior before.

@kirkkwang kirkkwang transferred this issue from scientist-softserv/adventist-dl May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working Knapsack Upgrade
Projects
Archived in project
Development

No branches or pull requests

4 participants