> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> 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

_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lucene-dev

Reply via email to