Thanks, May i know the purpose of using negative value?
Regards Ganesh ----- Original Message ----- From: "Michael McCandless" <[email protected]> To: <[email protected]> Sent: Friday, November 27, 2009 3:17 PM Subject: Re: IndexDivisor > This is the expected behavior. > > If you intend to use the reader for searching, looking doc freq, > deleting docs, etc, you must pass a non-negative value for > indexDivisor. > > Mike > > On Fri, Nov 27, 2009 at 12:00 AM, Ganesh <[email protected]> wrote: >> Hello all, >> >> I am using Lucene v2.9.1, If I open my reader with positive value for >> termInfosIndexDivisor then the search works fine. If i set to -1, then >> search throws exception "terms index was not loaded when this reader was >> created". Is this the intend behaviour? >> >> I thought by setting this value to -1, No memory will be used and the terms >> will be fetched from the disk. Search might be slow but with very less >> memory consumption. >> >> Regards >> Ganesh >> Send instant messages to your online friends http://in.messenger.yahoo.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > Send instant messages to your online friends http://in.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
