Re: how to sort the result by ignoring case in lucene

2008-11-24 Thread Chris Hostetter
: 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

Re: how to sort the result by ignoring case in lucene

2008-11-20 Thread naveen.a
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

Re: how to sort the result by ignoring case in lucene

2008-11-20 Thread Ganesh
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

how to sort the result by ignoring case in lucene

2008-11-20 Thread naveen.quill
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