cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: [SOLUTION] Sorry to be a nag
Date Sun, 14 Apr 2002 15:35:14 GMT
> From: Andrew C. Oliver [mailto:acoliver@apache.org]
> 
> Cool..  Glad I could help.
> 
> Humm this should be configurable.
> 
> On Sun, 2002-04-14 at 09:57, leo leonid wrote:
> > thanks for this hint, Andrew!
> > It is the merge-factor. A comprehensive description can be found at
> >
http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00373.html
.
> >
> > The quick hack:
> > Look in SimpleLuceneCocoonIndexerImpl.java for the constant
> > MERGE_FACTOR_DEFAULT =  20.
> > Lower the value. I set it to 10. Indexing about 2000 files now works
> > fine.

Alternatively, you could just edit config of
SimpleLuceneCocoonIndexerImpl:

<merge-factor>10</merge-factor>

(this suppose to work also)

Vadim

> >
> > /Leo
> >
> > On Monday, April 8, 2002, at 02:01  Uhr, Andrew C. Oliver wrote:
> >
> > > This sounds like your index merge factor.
> > >
> > > On Mon, 2002-04-08 at 03:26, Nader S. Henein wrote:
> > >> Cocoon Lucene Indesing: "Too Many files open Error"
> > >>
> > >> I can't opt for that solution, what I'm trying to do
> > >> is get out of Oracle Internmedia and ultimately out of oracle
> > >> and if you've ever had oracle bill you for licensing fees
> > >> you'll know why ... but as far as the indexing is concerned
> > >> I'm going to need to index about 200 000 XML files did you try
> > >> discussing the problem on the lucene dev forums ? I mean it is
> > >> open source we should be able to fix it.
> > >> The "Too Many files open Error" sounds like there is a file
handle
> > >> close() method missing somewhere I'm going to start going through
the
> > >> code today, and I'll post the problem on the Lucene Dev board ..
it
> > >> would be
> > >> nice to know who wrote the damn thing .. they could probably fix
this
> > >> one
> > >> in no time.
> > >>
> > >> cheers
> > >>
> > >> OPEN SOURCE ROCKS
> > >>
...


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message