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

Add ListOfOutputs FST Outputs, replacing UpToTwoPositiveIntOutputs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Spinoff from LUCENE-3842. This just generalizes the
      UpToTwoPositiveIntOutputs to a list of any arbitrary output, by
      wrapping any other Outputs impl. I also made separate methods to
      write/read a node-final output: since list of values can only occur on
      a final node output, this impl optimizes and avoids writing an extra
      byte per label for normal arc labels.

      This also fixes a bug in Builder that was sometimes failing to join
      multiple outputs together.

        Attachments

        1. LUCENE-4404.patch
          24 kB
          Michael McCandless
        2. LUCENE-4404.patch
          96 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: