lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Chhabra <kapil.chha...@naukri.com>
Subject search optimization - help
Date Wed, 25 May 2005 09:21:59 GMT
1. My application requires documents to be sorted on one of my indexed
fields everytime.
I use the hits.setSort() method to specify the field.
In short my application will never use the scores generated by lucene
search.
Is calculating scores a overhead? Can I skip the process somehow?



2. let C = A or B

In a normal scenario, if A is true the value of B is not checked and C
is set to true. The value of B is checked only if A is false.
I guess this is not what lucene does as it has to calculate the score
for the document. Am i right?
If yes, I there any way I can do it using the normal scenario?

Thanks in anticipation.
Regards,
kC


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message