lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "raymondcreel (sent by" <>
Subject custom sort
Date Mon, 29 Aug 2005 20:18:19 GMT

Is it possible to write a custom sort for a query such that the first N documents that match
a certain additional criteria get pushed to the top of the sort?  For instance say you sort
your query based on field A, but you want to tweak the results such that the first 10 documents
in the result set which have field B = some criteria will appear at the beginning of the resulting
hits collection?   

thanks much,
Sent from the Lucene - Java Users forum at

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