lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Li <fancye...@gmail.com>
Subject Re: New segment file created too often
Date Mon, 13 Feb 2012 16:55:35 GMT
 Commit is called
after adding each document


 you should add enough documents and then calling a commit. commit is a
cost operation.
 if you want to get latest feeded documents, you could use NRT

On Tue, Feb 14, 2012 at 12:47 AM, Huy Le <huyle@springpartners.com> wrote:

> Hi,
>
> I am using solr 3.5.  I seeing solr keeps creating new segment files (<1MB
> files) so often that it triggers segment merge about every one minute. I
> search the news archive, but could not find any info on this issue.  I am
> indexing about 10 docs of less 2KB each every second.  Commit is called
> after adding each document. Relevant config params are:
>
> <mergeFactor>10</mergeFactor>
> <ramBufferSizeMB>1024</ramBufferSizeMB>
> <maxMergeDocs>2147483647</maxMergeDocs>
>
> What might be triggering this frequent new segment files creation?  Thanks!
>
> Huy
>
> --
> Huy Le
> Spring Partners, Inc.
> http://springpadit.com
>

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