: 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, ther
t;[EMAIL PROTECTED]>
> To:
> Sent: Friday, November 21, 2008 11:27 AM
> Subject: how to sort the result by ignoring case in lucene
>
>
>>
>> Hi,
>>
>> I have a query regarding the sorting techniques in the lucene i.e
>> if i apply the sort method
You need to write your own sort comparator
SortField(String field, SortComparatorSource comparator)
Regards
Ganesh
- Original Message -
From: "naveen.quill" <[EMAIL PROTECTED]>
To:
Sent: Friday, November 21, 2008 11:27 AM
Subject: how to sort the result by ignorin
queryParser.parse(queryComplex);
org.apache.lucene.search.Hits
catalogueHits=search.indexSearcher.search(query, sort);
--
View this message in context:
http://www.nabble.com/how-to-sort-the-result-by-ignoring-case-in-lucene-tp20615647p20615647.html
Sent from the Lucene - Java Users mail