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

Per thread DocumentsWriters that write their own private segments

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Realtime Branch
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      See LUCENE-2293 for motivation and more details.

      I'm copying here Mike's summary he posted on 2293:

      Change the approach for how we buffer in RAM to a more isolated
      approach, whereby IW has N fully independent RAM segments
      in-process and when a doc needs to be indexed it's added to one of
      them. Each segment would also write its own doc stores and
      "normal" segment merging (not the inefficient merge we now do on
      flush) would merge them. This should be a good simplification in
      the chain (eg maybe we can remove the *PerThread classes). The
      segments can flush independently, letting us make much better
      concurrent use of IO & CPU.

        Attachments

        1. test.out
          25 kB
          Jason Rutherglen
        2. test.out
          33 kB
          Jason Rutherglen
        3. test.out
          56 kB
          Jason Rutherglen
        4. test.out
          131 kB
          Jason Rutherglen
        5. LUCENE-2324-SMALL.patch
          3 kB
          Jason Rutherglen
        6. LUCENE-2324-SMALL.patch
          6 kB
          Jason Rutherglen
        7. LUCENE-2324-SMALL.patch
          7 kB
          Jason Rutherglen
        8. LUCENE-2324-SMALL.patch
          12 kB
          Jason Rutherglen
        9. LUCENE-2324-SMALL.patch
          18 kB
          Jason Rutherglen
        10. LUCENE-2324.patch
          61 kB
          Jason Rutherglen
        11. LUCENE-2324.patch
          16 kB
          Jason Rutherglen
        12. LUCENE-2324.patch
          2 kB
          Jason Rutherglen
        13. LUCENE-2324.patch
          6 kB
          Jason Rutherglen
        14. lucene-2324.patch
          310 kB
          Michael Busch
        15. ASF.LICENSE.NOT.GRANTED--lucene-2324.patch
          168 kB
          Michael Busch

          Issue Links

            Activity

              People

              • Assignee:
                michaelbusch Michael Busch
                Reporter:
                michaelbusch Michael Busch
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: