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

Breaking change in Lucene 4.8.0-beta00017 requires new Build/Release of Examine v4 (beta) #401

Open
jemayn opened this issue Feb 4, 2025 · 3 comments
Labels

Comments

@jemayn
Copy link

jemayn commented Feb 4, 2025

Heya!

We are using Examine v4.0.0-beta-1 on a number of Umbraco 13 sites for facetting.
With the latest release they bumped the Lucene.Net.Replicator version due to a security issue in the previous one. Along with the security issue they also apparently have a breaking change which makes searching throw errors.

Image

This is the PR to Umbraco with the version update: umbraco/Umbraco-CMS#17415

I think this is the issue with the change: apache/lucenenet#408

@Shazwazza
Copy link
Owner

So we just need to rebuild the Examine beta release against the new Lucene beta and ship another package right?

@jemayn
Copy link
Author

jemayn commented Feb 5, 2025

I don't think it's quite that simple, I had a quick look and it's a bit more involved than simply bumping the package version. There are a few locations that use the now removed SnapshotDirectoryTaxonomyWriter:

Image

I had a quick look to see if it was a simple renaming, but they changed it into this SnapshotDirectoryTaxonomyIndexWriterFactory :
https://github.com/apache/lucenenet/pull/847/files#diff-701133a10ee7bdd5365c112da105d17aadfa7e3cd51c999e80c2d667f2de6891R31

Which is not a simple rename:

Image

I stopped digging at this point so am not entirely sure how large the chain of changes will be.

@Shazwazza
Copy link
Owner

Thanks @jemayn, I suppose I just meant, we need to recompile (fix breaking changes) for v4beta with the latest Lucene beta, and then ship a new release :)

I'll try to take a look tomorrow.

@Shazwazza Shazwazza changed the title Breaking change in Lucene.Net.Replicator 4.8.0-beta00017 included in Umbraco 13.6.0 Breaking change in Lucene 4.8.0-beta00017 requires new Build/Release of Examine v4 (beta) Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants