lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Shah <chetankrs...@gmail.com>
Subject Sort Collection of ScoreDocs
Date Mon, 02 Mar 2009 15:46:48 GMT

Is there an existing Utility class which will sort a collection of ScoreDocs
? I have a result set (array of ScoreDocs) stored in JVM and want to sort
them by relevanceScore. I do not want to execute the query again. The stored
result set is sorted by another term and hence the need.

Would highly appreciate if you would please let me know how do I do so?

Thanks,

-Chetan
-- 
View this message in context: http://www.nabble.com/Sort-Collection-of-ScoreDocs-tp22290563p22290563.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message