Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2641

BaseTestRangeFilter can be extremely slow

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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

        Attachments

        1. LUCENE-2641.patch
          37 kB
          Robert Muir
        2. LUCENE-2641.patch
          37 kB
          Robert Muir
        3. LUCENE-2641.patch
          40 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: