You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/09/12 14:40:34 UTC

[jira] Updated: (LUCENE-2641) BaseTestRangeFilter can be extremely slow

     [ https://issues.apache.org/jira/browse/LUCENE-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-2641:
--------------------------------

    Attachment: LUCENE-2641.patch

here's an initial patch.

i tried to fix some worst-case problems with similar tests as well, but some
still have problems...

> BaseTestRangeFilter can be extremely slow
> -----------------------------------------
>
>                 Key: LUCENE-2641
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2641
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Tests
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2641.patch
>
>
> The tests that extend BaseTestRangeFilter can sometimes be very slow:
> TestFieldCacheRangeFilter, TestMultiTermConstantScore, TestTermRangeFilter
> for example, TestFieldCacheRangeFilter just ran for 10 minutes on my computer before I killed it,
> but i noticed these tests frequently run for over a minute.
> I think at the least we should change these to junit4 so the index is built once in @beforeClass

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org