The simplest sorting would be to sort your collection before indexing, because Lucene will preserve order of added documents I think nutch sorts index afterward somehow, but I do not know how this works
by omitTf() I mean the new feature in the trunk version, see https://issues.apache.org/jira/browse/LUCENE-1340 ----- Original Message ---- > From: Cedric Ho <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Wednesday, 20 August, 2008 3:28:36 AM > Subject: Re: Are there any Lucene optimizations applicable to SSD? > > Hi eks, > > My index is fully optimized, but I wasn't aware that I can sort it by > fields in Lucene. Could you elaborate on how to do that? > > By omitTf(), do you mean Fieldable.setOmitNorms(true)? I'll try that. > > Thanks, > Cedric Ho > > > > > > if you have possibility to sort your index once in a while on something > > like > DateRange you will be surprised how good OS File cache utilizes locality of > reference... we had dramatic (ca 30%) improvements just by having index > sorted > once a week on the most used fields... depend on nature of your collection > and > is not always possible, but if possible, does the job. If this is also only > used > as boolean condition to select range of documents, not affecting score (guess > not), give omitTf() a try, your index will be smaller as well > > > > > > Send instant messages to your online friends http://uk.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://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]