NightOwl888 commented on issue #959: URL: https://github.com/apache/lucenenet/issues/959#issuecomment-2357264287
`HighFreqTerms` is not intended to be copied into another app to use. In Java, you can simply call it on the command line by providing the name of the class to find an entry point on. However, in .NET we cannot do that. A DLL can either be defined as a class library or have an entry point, not both. So, we provide a wrapper CLI tool, [lucene-cli](https://lucenenet.apache.org/docs/4.8.0-beta00016/cli/index.html) 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](https://lucenenet.apache.org/docs/4.8.0-beta00016/cli/index/list-high-freq-terms.html) can be used directly by end users, so there is generally no need to copy and paste the `HighFreqTerms` file into a console project to run. Of course, as @paulirwin pointed out, the `termtext` field should be made into a public property to match Lucene, so I am marking this issue as a bug so we can track it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org