On Wed, Mar 11, 2009 at 2:35 PM, Michael McCandless
<luc...@mikemccandless.com> 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: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to