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

Per thread DocumentsWriters that write their own private segments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Realtime Branch
    • core/index
    • None
    • 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. ASF.LICENSE.NOT.GRANTED--lucene-2324.patch
          168 kB
          Michael Busch
        2. lucene-2324.patch
          310 kB
          Michael Busch
        3. LUCENE-2324.patch
          6 kB
          Jason Rutherglen
        4. LUCENE-2324.patch
          2 kB
          Jason Rutherglen
        5. LUCENE-2324.patch
          16 kB
          Jason Rutherglen
        6. LUCENE-2324.patch
          61 kB
          Jason Rutherglen
        7. LUCENE-2324-SMALL.patch
          18 kB
          Jason Rutherglen
        8. LUCENE-2324-SMALL.patch
          12 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
          131 kB
          Jason Rutherglen
        13. test.out
          56 kB
          Jason Rutherglen
        14. test.out
          33 kB
          Jason Rutherglen
        15. test.out
          25 kB
          Jason Rutherglen

        Issue Links

          Activity

            People

              michaelbusch Michael Busch
              michaelbusch Michael Busch
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: