It's the QueryParser, not the Analyzer.
When the query parser sees multiple tokens from what looks like a
single word, it puts them in a phrase query.
I think the only way to change that behavior would be to modify the
QueryParser.
-Yonik
On 8/23/05, Dan Armbrust <[EMAIL PROTECTED]> wrote:
> I w
The query string is first parsed by QueryParser and what it believes to
be single terms are then passed on to your analyzer. QueryParser only
considers space, tab, \n and \r to be white space (See QueryParser.jj)
QueryParser itself is not aware that '-' should be treated as white
space so in your