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
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
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
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(