Hi everyone,
I'm trying to make the QueryParser parse a raw query without quotes into a
phrase query by default, and according to Lucene doc it seems I can use the
method setAutoGeneratePhraseQueries(). (
http://lucene.apache.org/core/6_2_0/queryparser/org/apache/lucene/queryparser/classic/QueryPa
> A workaround: insert quotation marks at the start and end of the query.
>
> --
> Steve
> www.lucidworks.com
>
> > On Dec 4, 2016, at 4:39 PM, Gang Li wrote:
> >
> > Hi everyone,
> >
> > I'm trying to make the QueryParser parse a raw query w