lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: [jira] Commented: (LUCENE-2458) queryparser shouldn't generate phrasequeries based on term count
Date Sun, 23 May 2010 18:09:41 GMT
On Sun, May 23, 2010 at 1:00 PM, Uwe Schindler <> wrote:
>  I just want to make the feature accessible and documented without Version.

I think it is just a bug (a shoddy implementation that does not use
the syntax, whether it was quoted or not, since this has been thrown
away). In this implementation no one thought about languages that
don't use whitespace and that it would make all queries into

I really do not think this sort of code belongs inside core lucene, if
you want to make uninternationalized code in your own code base that
is not correct that is fine.

Furthermore by preserving this kind of bug it makes the queryparser
more complicated, and especially in the future. If at some point in
the future you want to really have the QP not split on whitespace (as
you yourself said on the issue you want) to enable support for
multi-word synonyms and "real" n-grams at querytime, I hope you
understand this buggy code conflicts and complicates this later goal.

Robert Muir

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message