lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Nielsen <>
Subject RE: Indexing Problem
Date Thu, 13 Jun 2002 09:33:17 GMT
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 []
Sent: 13. juni 2002 11:31
To: Lucene Users List;
Subject: RE: Indexing Problem

attach some code or else all you'll get is speculation .. but I imagine it
something to do with your methid as I have indexed 40MB files

-----Original Message-----
From: none none []
Sent: Thursday, June 13, 2002 7:10 AM
To: Lucene Users List
Subject: Indexing Problem

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
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!

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message