Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SEARCH-732: Downgrade JFlex to 1.6.1 #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mwiencek
Copy link
Member

@mwiencek mwiencek commented Dec 5, 2024

In JFlex 1.8.0, the type of yychar was changed from int to long [1]. This causes a compilation error when MusicbrainzTokenizerImpl.java is regenerated. We would otherwise need to copy the changes from [1] into our MusicbrainzTokenizerImpl.jflex file -- though regnerating it with 1.9.1 produces many other changes in the tokenizer which I don't know the implications of. At the very least we'd have to rebuild all indexes.

JFlex was updated to 1.9.1 in 692c9ab (I assume only "for good measure").

[1] apache/lucene@af831d28

In JFlex 1.8.0, the type of `yychar` was changed from `int` to `long` [1]. This
causes a compilation error when MusicbrainzTokenizerImpl.java is regenerated.
We would otherwise need to copy the changes from [1] into our
MusicbrainzTokenizerImpl.jflex file -- though regnerating it with 1.9.1
produces many other changes in the tokenizer which I don't know the
implications of. At the very least we'd have to rebuild all indexes.

JFlex was updated to 1.9.1 in 692c9ab (I
assume only "for good measure").

[1] apache/lucene@af831d28
@mwiencek mwiencek requested review from yvanzo and amCap1712 December 5, 2024 20:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant