You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by none none <ko...@lycos.com> on 2002/06/13 17:22:07 UTC

RE: Indexing Problem (thank you)

 thank you very much,
the problem was the maxFieldLength, as soon as i changed to 500.000 it is working fine, little bit slower, but fine.
Thank you very much.
bye

--

On Thu, 13 Jun 2002 11:33:17  
 Anders Nielsen wrote:
>Or, it could be because you have to set a higher value on maxFieldLength in
>the IndexWriter you use.
>
>>From the javadoc (IndexWriter):
>
>"public 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 very large files will not crash the indexing process by
>running out of memory. 
>
>By default, no more than 10,000 terms will be indexed for a field."
>
>
>Venlig hilsen / Best regards
>
>Anders Nielsen 
>Adm. direkt�r
>_____________
>
>Visator ApS 
>Kroghsgade 1 
>2100 Kbh. � 
>Tlf: 3555 4702
>Mobil: 2671 3663
>_____________
>
>
>
>-----Original Message-----
>From: Nader S. Henein [mailto:nsh@bayt.net]
>Sent: 13. juni 2002 11:31
>To: Lucene Users List; korfut@lycos.com
>Subject: RE: Indexing Problem
>
>
>attach some code or else all you'll get is speculation .. but I imagine it
>has
>something to do with your methid as I have indexed 40MB files
>
>-----Original Message-----
>From: none none [mailto:korfut@lycos.com]
>Sent: Thursday, June 13, 2002 7:10 AM
>To: Lucene Users List
>Subject: Indexing Problem
>
>
> hi,
>i have a big problem, i don't know if it is a BUG or my fault.
>The problem is that indexing document bigger than 50/60 KB does
>an error, they are not properly indexed.
>In other words i tried to add a document of 100K and one of 1 MB,
>in both files i add near the end a word "korfut", my nickname, and
>when i run the search i don't get any results.
>I get no errors when indexing.
>My document class is almost the same as the default FileDocument.java.
>Can someone tell me what's going on?
>Can someone do the same test i did just to make sure?
>
>thank you.
>
>
>
>_______________________________________________________
>WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
>on the big Island. Enter Now!
>http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


_______________________________________________________
WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>