Robert Muir created LUCENE-9186:
-----------------------------------

             Summary: 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


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

Reply via email to