Details

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

      Description

      If you don't reuse your Doc/Field instances (which is very expert: I
      suspect few apps do) then there's a lot of garbage created to index each
      StringField because we make a new StringTokenStream or
      NumericTokenStream (and their Attributes).

      We should be able to re-use these instances via a static
      ThreadLocal...

        Attachments

        1. LUCENE-5634.patch
          14 kB
          Robert Muir
        2. LUCENE-5634.patch
          7 kB
          Robert Muir
        3. LUCENE-5634.patch
          3 kB
          Michael McCandless
        4. LUCENE-5634.patch
          2 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: