On Sat, Oct 29, 2011 at 4:27 PM, Chris Hostetter
<[email protected]> wrote:
>
> : The bug is that QueryParser tries to be a Tokenizer and breaks on 
> whitespace.
> : Allowing tokenizer access to the query string would just mean that
>
> Calling this a bug in the QUeryParser is grossly missleading -- it's like
> saying that QueryParser is buggy because it does parsing on whitespace
> characters is like saying it's buggy because it doesn't treat + and - as
> literal input characters.

its not really misleading. Its a bug.

>
> if this isn't the parsing behavior that you want, then either escape the
> whitespace characters, or don't use the Lucene QueryParser -- use some
> other parser that doesn't have meta characters.
>

the queryparser's grammer/behavior is hardly set in stone. we can
improve it, thats why the issue is open for anyone that figures out a
good solution here.

-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to