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

infostream is currently unusable out of box

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      testpoints used to only be emitted by assertions (still sketchy), but now are emitted always. I assume this is due to the change to support running tests with assertions disabled.

      we should try to clean this up, simple stuff like this is now useless:

      indexWriterConfig.setInfoStream(System.out);
      // causes massive flooding like this:
      // TP 0 [Tue Dec 16 20:19:37 EST 2014; Thread-0]: DocumentsWriterPerThread addDocument start
      // TP 0 [Tue Dec 16 20:19:37 EST 2014; Thread-0]: DocumentsWriterPerThread addDocument start
      // TP 0 [Tue Dec 16 20:19:37 EST 2014; Thread-0]: DocumentsWriterPerThread addDocument start
      

      I hit this several times today just trying to do benchmarks and debugging.

      Attachments

        1. LUCENE-6117.patch
          12 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: