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

Per thread DocumentsWriters that write their own private segments



    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Realtime Branch
    • core/index
    • None
    • New


      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.


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

        Issue Links



              michaelbusch Michael Busch
              michaelbusch Michael Busch
              1 Vote for this issue
              6 Start watching this issue