Re: Re: Re: Problem with sorted results.

2008-12-26 Thread tom
AUTOMATIC REPLY LUX is closed until 5th January 2009 - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Re: Problem with sorted results.

2008-12-26 Thread tom
AUTOMATIC REPLY LUX is closed until 5th January 2009 - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Problem with sorted results.

2008-12-26 Thread Erick Erickson
Several points: 1> Prabin's suggestion is, I think, equivalent to something like: title:(business AND author)^9.0 OR author:(business AND author)^3.0 OR description:(business AND author)^1.0. Either way may give you results more in line with what you expect. (note, the syntax here is suspect, but

Re: Problem with sorted results.

2008-12-25 Thread prabin meitei
try to construct a query like : BooleanQuery mainquery = new BooleanQuery(); BooleanQuery query1 = new BooleanQuery(); BooleanQuery query2 = new BooleanQuery(); BooleanQuery query3 = new BooleanQuery(); queryParser = new QueryParser("title", new StandardAnalyzer()); query1 = queryParser.parse(