lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suman Ghosh" <suman.ghos...@gmail.com>
Subject Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term())
Date Mon, 27 Nov 2006 18:43:06 GMT
Here are the values:

mergeFactor=10
maxMergeDocs=100000
minMergeDocs=100

And I see your point. At the time of the crash, I have over 5000
segments. I'll try some conservative number and try to rebuild the
index.


On 11/27/06, Yonik Seeley <yonik@apache.org> wrote:
> On 11/27/06, Suman Ghosh <suman.ghosh.1@gmail.com> wrote:
> > The last line [at
> > org.apache.lucene.index.MultiTermDocs.next(MultiReader.java:349)]
> > repeats another 1010 times before the program crashes.
> >
> > I understand that without the actual index or the documents, it's
> > nearly impossible to narrow down the cause of the error. However, can
> > you please point to any theoretical reason why
> > org.apache.lucene.index.MultiTermDocs.next will go into an infinite
> > loop?
>
> MultiTermDocs.next() is a recursive function.  From what I can see of
> it though, it shouldn't recurse greater than the number of segments in
> the index.
>
> How many segments do you have in your index?  What IndexWriter
> settings have you changed (mergeFactor, maxMergeDocs, etc)?
>
> -Yonik
> http://incubator.apache.org/solr Solr, the open-source Lucene search server
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message