You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Robert Muir (Jira)" <ji...@apache.org> on 2020/01/28 11:19:00 UTC
[jira] [Updated] (LUCENE-9186) remove linefiledocs usage from
basetokenstreamtestcase
[ https://issues.apache.org/jira/browse/LUCENE-9186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-9186:
--------------------------------
Attachment: LUCENE-9186.patch
> 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
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org