Re: queryParser and sorting question

2006-07-25 Thread Enrique Lamas
Thanks Chris, I'll try that. Bye - Original Message - From: "Chris Hostetter" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 25, 2006 3:46 AM Subject: Re: queryParser and sorting question 1) subclass DefaultSimilarity so that tf/idf allways return either 0 or 1 (

Re: queryParser and sorting question

2006-07-24 Thread Chris Hostetter
1) subclass DefaultSimilarity so that tf/idf allways return either 0 or 1 (more info on this can be found in the archives). 2) sort on score, and then your specific field as a secondary sort. Of the top of my head, that should give you what you want ... but there may be something else about the