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

Search Function Issue #1965

Open
anneelinh opened this issue Jul 23, 2024 · 1 comment
Open

Search Function Issue #1965

anneelinh opened this issue Jul 23, 2024 · 1 comment
Assignees
Milestone

Comments

@anneelinh
Copy link

Describe the bug
The search function on the page does not return results when typing and trying to search for "Thy-1". This should give a result as it is a part of the header of this publication (https://seek.lisym.org/publications/431). However, if you copy paste the the word from the publication it can find it. So there seems to be a problem with different hyphens being used.

To Reproduce
Steps to reproduce the behavior:

  1. Enter "Thy-1" in the search bar and press enter.
  2. Note that no results are returned.
  3. Copy/paste "Thy‐1" from the header of the publication (see above) in the search bar and press enter.
  4. Note that relevant results are returned.

Expected behavior
The search function should return the same results for both typing "Thy-1" and for copy/pasting "Thy‐1" from the publication.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 126.0.6478.182
@stuzart
Copy link
Member

stuzart commented Oct 9, 2024

The hyphen - in the title is not the same character as the '-' you would type, it's a funny unicode character. It's actually Thy‐1

@stuzart stuzart added this to the 1.16.0 milestone Nov 25, 2024
@stuzart stuzart moved this to In review in SEEK 1.16.x Nov 25, 2024
stuzart added a commit to FAIRdom/solr-seek-docker that referenced this issue Nov 25, 2024
using mappings for ISOLatin1Accent and FoldToASCII

fix for seek4science/seek#1965
stuzart added a commit to FAIRdom/solr-seek-docker that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In review
Development

No branches or pull requests

3 participants