lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Setting of ramBufferSizeMB
Date Thu, 14 Jan 2016 01:44:32 GMT
Hi,

I would like to check, if I have make the following settings for
ramBufferSizeMB, and I am using TieredMergePolicy, am I supposed to get
each segment size of at least 320MB?


    <!-- ramBufferSizeMB sets the amount of RAM that may be used by Lucene
         indexing for buffering added documents and deletions before they are
         flushed to the Directory.
         maxBufferedDocs sets a limit on the number of documents buffered
         before flushing.
         If both ramBufferSizeMB and maxBufferedDocs is set, then
         Lucene will flush based on whichever limit is hit first.
         The default is 100 MB.  -->
    	<ramBufferSizeMB>320</ramBufferSizeMB>
    	<!--<maxBufferedDocs>1000</maxBufferedDocs>-->


        <mergePolicy class="org.apache.lucene.index.TieredMergePolicy">
          <int name="maxMergeAtOnce">10</int>
          <int name="segmentsPerTier">10</int>
	  <double name="maxMergedSegmentMB">10240</double>
        </mergePolicy>


I have this setting in my solrconfig.xml, but when I checked my segments
size under the Segments info screen on the Admin UI, I see quite a number
of segments at the bottom which have size that are much smaller than 320MB.
Is that the correct behaviour, or is my ramBufferSizeMB not working
correctly?

I am using Solr 5.4.0,


Regards,
Edwin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message