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

random sampler is not random (and so facet SamplingWrapperTest occasionally fails)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • modules/facet
    • None
    • New

    Description

      RandomSample is not random at all:
      It does not even import java.util.Random, and its behavior is deterministic.

      in addition, the test testCountUsingSamping() never retries as it was supposed to (for taking care of the hoped-for randomness).

      Attachments

        1. LUCENE-3501.patch
          55 kB
          Doron Cohen

        Activity

          People

            doronc Doron Cohen
            doronc Doron Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: