lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terence Lai <t...@trekspace.com>
Subject RE: Re: Help on the Query Parser
Date Wed, 24 Nov 2004 14:52:42 GMT
Hi Daniel,

I couldn't figure out how to use the PharsePrefixQuery with a phase like "java* developer".
It only provides method to add terms. Can a term contain wildcard character in lucene?

Thanks,
Terence

> On Wednesday 24 November 2004 08:16, Morus Walter wrote:
> 
> > Lucene itself doesn't handle wildcards within phrases.
> 
> This can be added using PhrasePrefixQuery (which is slightly misnamed):
> http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/PhrasePrefixQuery.html
> 
> Regards
>  Daniel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 




----------------------------------------------------------
Get your free email account from http://www.trekspace.com
          Your Internet Virtual Desktop!

---------------------------------------------------------------------
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