lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teruhiko Kurosaka" <>
Subject What does Sort.RELEVANCE do?
Date Thu, 06 Nov 2008 16:52:46 GMT
I can specify Sort.RELEVANCE to as in:

hits =, Sort.RELEVANCE); // Using deprecated method to
make it short

What is the real effect of specifying the Sort argument like this?

Does Sort.RELEVANCE sorts the hits in order of the score
shown in Sect. 3.3 "Understanding Lucene scoring"
of Lucene In Action? If I use the search method without
a sort argument, is it equivalent of specifying

T. "Kuro" Kurosaka, Basis Technology
San Francisco, California, U.S.A.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message