> > 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! --MDC --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]