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

The newly introduced normalizer in the funders vocab generates two tokens when acronyms contain diacritics #408

Open
wgresshoff opened this issue Oct 8, 2024 · 0 comments · May be fixed by #409
Labels
bug Something isn't working

Comments

@wgresshoff
Copy link
Contributor

wgresshoff commented Oct 8, 2024

Package version (if known):

Since v5.1.0

Describe the bug

The normalization for new or updated entries in the funders index leads to the following problem:

The normalization token stream is expected to produce exactly 1 token, but got 2+ for analyzer analyzer name[accent_normalizer], analyzer [org.opensearch.index.analysis.CustomAnalyzer@33ac3672], analysisMode [ALL] and input "FüAkBw"

The document will not be indexed.

Steps to Reproduce

  1. Run invenio index destroy --yes-i-know
  2. Run invenio index init
  3. Run invenio rdm rebuild-all-indices

Expected behavior

All records and vocabularies should be reindexed.

@wgresshoff wgresshoff added the bug Something isn't working label Oct 8, 2024
@carlinmack carlinmack linked a pull request Oct 8, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant