Take a look in mergeFactor (and probably use compound format).
[]s,
Lucas Frare A. Teixeira
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Tel: +55 11 3660.1622 - R3018
Vaijanath N. Rao escreveu:
Hi Otis and Solr-users,
I was under the impression that when one call optimize all the indexes
created so far get's merged. Hence I went about the question on optimize.
The reason I want optimize is that I have autoCommit feature in the
solrConfig.xml to commit after every 1000 documents. Once I do that I
get too many files open error after some time, while crawling and
indexing a large number of sites.
Is there a way I can avoid too many files open issue all-together and
yet have index committed after every 1000 docs.
--Thanks and Regards
Vaijanath
Otis Gospodnetic wrote:
Hi,
There is no such option currently and it is not likely that such
feature will be added because index optimization is not really a
quick and lightweight operation, so one typically optimized only
after the index is fully built and one knows the index will remain
unchanged for a while. If you do need to optimize periodically for
some reason, just send optimize commands to Solr from your own
application.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
From: Vaijanath N. Rao <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Cc: [EMAIL PROTECTED]
Sent: Monday, May 19, 2008 1:13:03 AM
Subject: Auto commit and optimize settings
Hi Solr-Users,
I have gone through the solrConfig.xml file in the example directory
of the solr build (nightly build). I wanted to know is there a way
to tell solr to optimize the index after certain number of seconds
elapsed or number of records indexed as we do in case of auto-commit.
--Thanks and Regards
Vaijanath