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
a-user@lucene.apache.org : Subject: queryParser and sorting question : : Hi, : I'm, trying to execute a query to find some words, and I'm using : : QueryParser queryParser = new MultiFieldQueryParser(new String[] {"tags", : "title"}, ProcessConstants.analyzer); : Query qu

queryParser and sorting question

2006-07-24 Thread Enrique Lamas
Hi, I'm, trying to execute a query to find some words, and I'm using QueryParser queryParser = new MultiFieldQueryParser(new String[] {"tags", "title"}, ProcessConstants.analyzer); Query query = queryParser.parse("word1 word2 word3"); I want to show the results sorted like this: first, docume