-
Notifications
You must be signed in to change notification settings - Fork 638
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
It's not possible to extract terms from HighFreqTerms #959
Comments
@VahidN Thanks for the feedback. It looks like even in the latest Java Lucene that method is still package-private (kinda-sorta how Java spells "internal") from its default visibility: https://github.com/apache/lucene/blob/b59a357e58611b86e4cc1643794e05dd17d71b08/lucene/misc/src/java/org/apache/lucene/misc/TermStats.java#L35 However, the It seems like the most correct fix here is to make the field public (and possibly make it a property like the ones below it), and leave the visibility of |
So, we provide a wrapper CLI tool, lucene-cli to execute the commands that Lucene provides as command line tools (except for a few that didn't appear to be useful). The list-high-freq-terms command can be used directly by end users, so there is generally no need to copy and paste the Of course, as @paulirwin pointed out, the |
It seems like it would also be a good idea to search the codebase for |
…LI bug fix (#963) * Make TermStats.TermText public (#959) * SWEEP: Added XML comments for Main(args) methods that are only intended for command line CLI usage. * BUG: Lucene,Net.Cli.BenchmarkFindQualityQueriesCommand: fixed mapping to QualityQueriesFinder.Main(args) * Better approach to fixing TermStats.TermText to fix one failing unit test. * Address PR feedback --------- Co-authored-by: Paul Irwin <[email protected]>
Is there an existing issue for this?
Describe the bug
It's not possible to GetTermText() from HighFreqTerms, because it's defined as an internal method.
Expected Behavior
Make the GetTermText() method
public
.Steps To Reproduce
No response
Exceptions (if any)
No response
Lucene.NET Version
4.8.0-beta00016
.NET Version
.NET 8x
Operating System
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: