NightOwl888 commented on issue #792: URL: https://github.com/apache/lucenenet/issues/792#issuecomment-1900987007
Gotcha. Yeah, I see that is in our codebase, now. There are a couple of things wrong here. 1. This doesn't match the Java source, which only writes to `System.out`. 2. We have created a seam for console writing at `Lucene.Net.Util.SystemConsole` that is not being utilized, but it should be. So, you (will) have the ability to redirect the output that is being written in 2 ways: 1. Replace `Lucene.Net.Util.SystemConsole.Out` with a no-op `TextWriter`. 2. Call `QueryParserTokenManager.SetDebugStream(TextWriter)` with either a no-op `TextWriter` or a `TextWriter` that has already been disposed. In 4.8.0-beta00016 and prior, the only option you have to disable this is option 2. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
