lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Curtin" <>
Subject Re: TermFrequencies vector limits?
Date Mon, 21 Nov 2005 15:32:56 GMT
> > To get a higher limit.  Of course, you could also change the Lucene  source 
> > file and recompile it.  Note that you CANNOT just set the  property in your 
> > code, in general, as the Lucene class puts it into  a static final int, 
> > meaning it examines the value of the property  (once) at class load time.
> Just for the record, that last paragraph is incorrect.  the  
> IndexWriter.maxFieldLength variable in Lucene 1.4.3 is controllable  at 
> runtime, no problem.

You're right, maxFieldLength is public.  I never noticed that before.  I tried using System.setProperty(),
which didn't work, for the reason I mentioned.  Good catch!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message