Re: setting MaxFieldLength in indexwriter

2011-09-28 Thread Peyman Faratin
eyman Faratin [mailto:pey...@robustlinks.com] >> Sent: Wednesday, September 28, 2011 9:08 AM >> To: java-user@lucene.apache.org >> Subject: setting MaxFieldLength in indexwriter >> >> Hi >> >> Newbie question. I'm trying to set the max field leng

RE: setting MaxFieldLength in indexwriter

2011-09-28 Thread Steven A Rowe
rg/apache/lucene/analysis/LimitTokenCountFilter.html> Steve > -Original Message- > From: Peyman Faratin [mailto:pey...@robustlinks.com] > Sent: Wednesday, September 28, 2011 9:08 AM > To: java-user@lucene.apache.org > Subject: setting MaxFieldLength in indexwriter > > Hi >

setting MaxFieldLength in indexwriter

2011-09-28 Thread Peyman Faratin
Hi Newbie question. I'm trying to set the max field length property of the indexwriter to unlimited. The old api is now deprecated but I can't seem to be able to figure out how to set the field with the new (IndexWriterConfig) API. I've tried IndexWriterConfig.maxFieldLength(Integer.MAX_VALUE)