RE: Indexing terms limit

2005-08-10 Thread Tim Johnson
tions. Thanks Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hostetter Sent: Wednesday, August 10, 2005 4:41 PM To: java-user@lucene.apache.org Subject: Re: Indexing terms limit : I'm currently attempting to index the distinct list of t

Re: Indexing terms limit

2005-08-10 Thread Chris Hostetter
: I'm currently attempting to index the distinct list of terms found in a : Lucene index using the TermEnum. I'm creating a document with each list : and indexing the document of terms. It appears there's a limit of : 10,000 distinct terms within a given document. Can this be overcome?? Out of

Re: Indexing terms limit

2005-08-10 Thread Chris Lamprecht
See IndexWriter.setMaxFieldLength(), I think it's what you want: from javadocs: public void setMaxFieldLength(int maxFieldLength) The maximum number of terms that will be indexed for a single field in a document. This limits the amount of memory required for indexing, so that collections with ve