Yes, Similarity is still computed. It has to be in order to determine if the documents considered are a hit or not. Scores of 0 are not a hit.

You certainly could simplify the Similarity computations though, by creating your own implementation and returning 1 from all the methods.

        Erik

On Nov 27, 2004, at 2:46 AM, Aphinyanaphongs, Yindalon wrote:

I have an search application that is very performance conscious. I've looked through the IndexSearcher code, and haven't been able to clarify whether a similarity score is calculated if the results are sorted by some numerical field value? Basically, it would be preferable to not incur the computational cost of generating a similarity score if it is never used.

Thanks
Yin



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to