On Jul 5, 2004, at 5:06 AM, Albert Vila wrote:
I wanna use the * in the middle of a phrase search like "java j2*". Anyone knows how can i achieve that?

This is not possible with QueryParser, currently.

But through the API, you could (and it would take a little bit of code - see Lucene's test cases for more details) use a PhrasePrefixQuery to do this - it boils down to you manually expanding all the terms for j2*.

        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to