lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravis <ravish....@gmail.com>
Subject Custom Sorting Based on Input Value
Date Mon, 13 Oct 2008 21:54:46 GMT

Hi,

I have a sorting requirement where I need to bubble up documents exactly
matching of particular value passed in sort criteria. 

For example: Hypothetically, Say I am sorting on field A. I want all values
matching value '5' on top and then regular sorting for other values. So I
would like to do something like: sort by: fieldA(5).

Any recommendation how I can achieve this using Lucene.

thanks,
Ravi
-- 
View this message in context: http://www.nabble.com/Custom-Sorting-Based-on-Input-Value-tp19963673p19963673.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message