lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: how to sort the result by ignoring case in lucene
Date Tue, 25 Nov 2008 00:39:52 GMT

: You need to write your own sort comparator
: SortField(String field, SortComparatorSource comparator)

A much simpler approach is to index a lowercase version of the field.  
since fields used for sorting are typically copies of other existing 
fields anyway because they can't be tokenized, there's not much additional 


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

View raw message