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

FST.save can truncate output (BufferedOutputStream may be closed after the underlying stream)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 5.3, 6.0
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Are used in save (Path) method of FST class, BufferedOutputStream has not been closed.
      When create a dictionary, there is a possibility that the buffered data is not written out.

        Attachments

        1. LUCENE-6368.patch
          0.7 kB
          Ippei Matsushima

          Activity

            People

            • Assignee:
              dweiss Dawid Weiss
              Reporter:
              kazuhira Ippei Matsushima
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: