Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8655397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:01:05+00:00 2026-06-12T15:01:05+00:00

I thought mergeFactor could be think as max number of in segment, but when

  • 0

I thought mergeFactor could be think as max number of in segment, but when it set to 10, I got 16 segments after index, and merge happened when number of in segment exceed 15 and 20. I am really confused about the mean of mergeFactor.

Here is my config

<ramBufferSizeMB>32</ramBufferSizeMB>
<maxBufferedDocs>100000</maxBufferedDocs>
<mergeFactor>10</mergeFactor>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T15:01:06+00:00Added an answer on June 12, 2026 at 3:01 pm

    From the Solr Wiki – SolrPerformanceFactors – Merge Factor documentation

    The mergeFactor roughly determines the number of segments.
    The mergeFactor value tells Lucene how many segments of equal size to build before merging them into a single segment. It can be thought of as the base of a number system.

    It is not an exact number, but a guideline for how the index is managed on disk. Here is some additional good guidance on how what different settings of this value mean to the performance of your index:

    mergeFactor Tradeoffs

    High value merge factor (e.g., 25):

    • Pro: Generally improves indexing speed
    • Con: Less frequent merges, resulting in a collection with more index files which may slow searching

    Low value merge factor (e.g., 2):

    • Pro: Smaller number of index files, which speeds up searching.
    • Con: More segment merges slow down indexing.

    You can also reference the mergeFactor documentation on the Lucidworks site for some more details about how the mergeFcator works and can impact your index performance. But I think the key here is this paragraph:

    If creating a new segment would cause the number of lowest-level
    segments to exceed the mergeFactor value, then all those segments are
    merged together to form a single large segment. Thus, if the merge
    factor is ten, each merge results in the creation of a single segment
    that is roughly ten times larger than each of its ten constituents.
    When there are mergeFactor settings for these larger segments, then
    they in turn are merged into an even larger single segment. This
    process can continue indefinitely.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I thought the following script will create div element but I got nothing output
Thought I could use the BinaryWriter but haven't had any luck. Suggestions?
I thought this would be easy, but after scanning many pages Google hasn't come
I thought I had resolved this but I obviously haven't and was hoping someone
I thought this would be fairly simple but it turns out not to work
I thought I'd find more about this topic but I didn't. I have to
I thought I was pretty well acquainted with Subversion, but now something I thought
I thought I would post this here not so much as a question but
Thought it was pretty straight forward. But I get a iterator not dereferencable errro
I thought this would be pretty academic but its not. I'm trying to traverse

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.