On 2/21/06, Terry Steichen <terry@net-frame.com> wrote:
> For example, let's say that I'm interested in docs with terms 'riot',
> 'riots', 'rioting' and 'rioters' (which, I think, is a reasonable kind
> of query). Under the previous versions of QueryParser, I could simply
> specify 'riot???' and capture all of those variants.
Wouldn't the prefix query riot* fit the bill?
I would think that wanting 1,2, or 3 additional characters, but no
more would be a fairly rare case, yes? And there might also be a rare
case where you want exactly 3 additional characters... the new change
makes both possible.
-Yonik
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
|