[ https://issues.apache.org/jira/browse/LUCENE-9186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-9186. --------------------------------- Fix Version/s: master (9.0) Resolution: Fixed I opened LUCENE-9191 as a followup for other tests using LineFileDocs in a similar way. But fixing the analyzers tests was an easy win. > remove linefiledocs usage from basetokenstreamtestcase > ------------------------------------------------------ > > Key: LUCENE-9186 > URL: https://issues.apache.org/jira/browse/LUCENE-9186 > Project: Lucene - Core > Issue Type: Task > Components: general/test > Reporter: Robert Muir > Priority: Major > Fix For: master (9.0) > > Attachments: LUCENE-9186.patch > > > LineFileDocs is slow, even to open. That's because it (very slowly) "skips" > to a pseudorandom position into a 5MB gzip stream when you open it. > There was a time when we didn't have a nice string generator for tests > (TestUtil.randomAnalysisString), but now we do. And when it was introduced it > found interesting new things that linefiledocs never found. > This speeds up all the analyzer tests. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org