lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: PhraseQuery with Wildcards?
Date Thu, 08 Jul 2004 01:28:58 GMT
On Jul 7, 2004, at 6:24 PM, yahootintin.1247688@bloglines.com wrote:
> Hi,
>
> Is there any way to do a PhraseQuery with Wildcards?

No.

This very question came up a few days ago.  Look at PhrasePrefixQuery - 
although this will be a bit of effort to expand the terms matching the 
wildcarded term.

>
> I'd like to
> search for:
>   MyField:"foo bar*"
>
> I thought I could cobble something together
> using PhraseQuery and Wildcards but I couldn't get this functionality 
> to work
> due to my lack of experience with Lucene.
>
> Is there a way to do this with
> Lucene?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message