multiple field query

2006-10-13 Thread Vinny Ng
Hi List, I'd like to have a query consisting of different keywords on different fields, e.g. "title:Lucene" "author:Otis" with the second part having boosted value of 2. Assuming I use the same Analyzer for both parts of the query then how should i compose my query ? Thanks a lot. Ng

SynonymsQuery

2006-06-08 Thread Vinny Ng
Dear all, I tried to use SynonymsQuery mentioned at: http://mail-archives.apache.org/mod_mbox/lucene-java-user/200603.mbox/[EMAIL PROTECTED] Compiling the given source code results in error message: "The method createWeight(Searcher) in the type Query is not applicable for the arguments (Searc