lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <DCutt...@grandcentral.com>
Subject RE: [Lucene-dev] Problem: Maximum field size
Date Tue, 02 Oct 2001 21:55:15 GMT
> From: helrib@aeiou.pt [mailto:helrib@aeiou.pt]
> 
> Is there any limit for the size of a field? I've tried to index a 
> document with a field (UnStored type) of something like 80000 chars 
> and I've noticed that the words which are in the end of that field 
> aren't indexed... If there is a size limitation, there is any way to 
> turn this around so that I can index very large fields?

By default Lucene will not index more than 10,000 terms per field.  You can
change this by setting IndexWriter.maxFieldLength.  See:
 
http://jakarta.apache.org/lucene/api/org/apache/lucene/index/IndexWriter.htm
l#maxFieldLength

Doug

Mime
View raw message