lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ype Kingma <>
Subject Re: New
Date Mon, 18 Nov 2002 22:17:12 GMT

On Monday 18 November 2002 20:43, Konrad Scherer wrote:
> Hello,
> I have modified QueryParser.jj and to allow wildcard
> searches within phrases. This turned out to be a very involved change going

Thank you very much.

> through a few revisions. I have tried to make the changes as clean as
> possible. Some points
> 1) I created a WildcardTerm class which extends Term. Originally Term was
> final. My changes shouldn't affect anyone unless there is a reason Term
> must remain final which I have not noticed.
> 2) has been completely rewritten. Extending Term
> helped simplify this class considerably. A PhrasePrefixQuery is now a
> vector of Terms (or WildcardTerms). The wildcard Terms are expanded though
> the prepare() call from Query.
> 3) I have added a function compareTermAt() which should help all those
> highlighting results.
> My team rated this functionality as a high priority. I hope it is useful to
> someone else as well. Please let me know what you think.

It will be very useful to me. I'm so used to having combined truncation and 
distance queries available (in another search engine) that it will be reason 
enough to change to the CVS version once it is in there, even if that means 
rebuilding my indexes.

Thanks again,

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

View raw message