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

Create a MergePolicy that limits the maximum size of it's segments

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.4.1
    • 3.2, 4.0-ALPHA
    • core/index
    • None
    • New

    Description

      Basically I'm trying to create largish 2-4GB shards using
      LogByteSizeMergePolicy, however I've found in the attached unit
      test segments that exceed maxMergeMB.

      The goal is for segments to be merged up to 2GB, then all
      merging to that segment stops, and then another 2GB segment is
      created. This helps when replicating in Solr where if a single
      optimized 60GB segment is created, the machine stops working due
      to IO and CPU starvation.

      Attachments

        1. LUCENE-1750.patch
          2 kB
          Jason Rutherglen

        Activity

          People

            Unassigned Unassigned
            jasonrutherglen Jason Rutherglen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified