> From: Karl �ie [mailto:[EMAIL PROTECTED]]
> 
> I have created a testclass for working with Analyzers and ran 
> into a strange
> problem; I cannot search for text in fields with more than 
> 10000 words!?!?

Lucene by default stops indexing after the 10,000th token.
See
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexWrite
r.html#maxFieldLength

You can disable this with:
  indexWriter.maxFieldLength = Integer.MAX_VALUE;

Doug

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to