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

add initial capacity based Document constructor

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.2
    • 4.9, 6.0
    • core/other
    • New, Patch Available

    Description

      When loading field from the index without a FieldSelector, and often in user code we know exactly how many fields a Document should have. This patch will simply add the ability to allocate Document memory for precisely.

      I will include as a separate patch where this would be useful in conjunction with patch LUCENE-2276.

      Attachments

        1. LUCENE-2539.patch
          1 kB
          Woody Anderson
        2. LUCENE-2539.patch
          2 kB
          Woody Anderson
        3. LUCENE-2539.patch
          4 kB
          Woody Anderson

        Activity

          People

            Unassigned Unassigned
            woody.anderson@gmail.com Woody Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: