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

add initial capacity based Document constructor

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.2
    • Fix Version/s: 4.9, 6.0
    • Component/s: core/other
    • Labels:
    • Lucene Fields:
      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
          4 kB
          Woody Anderson
        2. LUCENE-2539.patch
          2 kB
          Woody Anderson
        3. LUCENE-2539.patch
          1 kB
          Woody Anderson

          Activity

            People

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

              Dates

              • Created:
                Updated: