On Wed, Mar 11, 2009 at 2:35 PM, Michael McCandless <[email protected]> wrote: > This is expected: phrase searches will not work when you omitTf.
But why would a phrase query be created? The code given looks like it should create a boolean query with two terms. Of course, the given code also uses "" as the default field.... -Yonik http://www.lucidimagination.com >> QueryParser queryParser = new QueryParser("", new >> WhitespaceAnalyzer()); >> Query query = queryParser.parse("SQL SERVER"); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
