You just can't set it to "unlimited". What you could do, is ignoring the positions and put a filter in, that sets the token for all but the first token to 0 (means the field length will be just 1, all tokens "stacked" on the first position) You could also break per page, so you put each "page" on a new position.
Jan >-----Original Message----- >From: ext Ma, Xiaohui (NIH/NLM/LHC) [C] [mailto:xiao...@mail.nlm.nih.gov] >Sent: Dienstag, 30. November 2010 19:49 >To: solr-user@lucene.apache.org; 'solr-user-i...@lucene.apache.org'; >'solr-user-...@lucene.apache.org' >Subject: how to set maxFieldLength to unlimitd > >I need index and search some pdf files which are very big (around 1000 pages >each). How can I set maxFieldLength to unlimited? > >Thanks so much for your help in advance, >Xiaohui