lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Shah <>
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?


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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