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 <cedric.ho@gmail.com>
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
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
From: Cedric Ho <cedric.ho@gmail.com>
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 ofreference... 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Send instant messages to your online friends http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org