Skip to content

Create a port of org.apache.lucene.monitor #1155

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

Open
1 task done
anhaehne opened this issue Apr 9, 2025 · 2 comments
Open
1 task done

Create a port of org.apache.lucene.monitor #1155

anhaehne opened this issue Apr 9, 2025 · 2 comments
Milestone

Comments

@anhaehne
Copy link

anhaehne commented Apr 9, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I would like to match documents against a set of queries. This feature exists in the org.apache.lucene.monitor package but is currently not provided by lucene.net.

Describe the solution you'd like

Provide a Lucene.Net.Monitor package that ports the java implementation over to .net.

Additional context

If this is currently not planned for the 4.8 version and nobody is currently working on it. I might be able to look into it.

@paulirwin
Copy link
Contributor

@anhaehne Thank you for this feature request. Unfortunately, the Monitor subproject was added in Lucene 8.2.0, which is later than what we are targeting (4.8.0). While we have added a select number of post-4.8 changes, we can't have this be a moving goalpost or we'll never get done, and certainly adding another library at this time would be a big lift. So this will have to wait for the next post-4.8 release where we will catch up to some newer version of Lucene (hopefully 11.x or later) which will include this. In the meantime, we need assistance with getting the 4.8 work done, so if you could put your efforts there that would help get us to the point of being able to do this faster!

If it is possible to implement Monitor against the 4.8 API, and that functionality is needed, I would suggest implementing it as an experimental outside project (even published on NuGet.org) that depends on Lucene.NET 4.8, and if you make it Apache-2.0 licensed, we might be able to pull in that code into the next post-4.8 release to expedite that.

@paulirwin paulirwin added this to the Future milestone Apr 9, 2025
@anhaehne
Copy link
Author

anhaehne commented Apr 9, 2025

@paulirwin thanks for the detailed answer. I didn't realize the version number 4.8 was corresponding to the lucene version.

I will have to investigate the changes between 4.8 and 8.2 to check whether the current implementation is compatible.

The feature was an external package before 8.2 so I am hopeful that there is some version I can port to .net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants