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

org.apache.lucene.util.fst.FST should skip over outputs it is not interested in

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.7
    • 4.9, 6.0
    • None
    • None
    • New

    Description

      Currently the FST uses the read(DataInput) method from the Outputs class to skip over outputs it actually is not interested in. For most use cases this just creates some additional objects that are immediately destroyed again.

      When traversing an FST with non-trivial data however this can easily add up to several excess objects that nobody actually ever read.

      Attachments

        1. LUCENE-5670.patch
          7 kB
          Christian Ziech
        2. skipOutput_lucene48.patch
          8 kB
          Christian Ziech

        Activity

          People

            mikemccand Michael McCandless
            christianz Christian Ziech
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: