lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <DCutt...@grandcentral.com>
Subject RE: prefix query with multiple words
Date Tue, 04 Dec 2001 17:00:08 GMT
In short, this is not currently supported, but might be someday.

For more details, see my recent response to a message with subject "RE: Near
without slop".

Doug

> -----Original Message-----
> From: Tom Barrett [mailto:barrett_tom@yahoo.com]
> Sent: Monday, December 03, 2001 3:42 PM
> To: lucene-user@jakarta.apache.org
> Subject: prefix query with multiple words
> 
> 
> Hey all-
> 
> Wondering if it's possible to a prefix query, but with multiple words;
> basically trying to get
> 
> +artist:"eric clap*"
> 
> to return documents with artists "eric clap", "eric clapton", "eric
> claptonean", etc.
> 
> You can get close by parsing into multiple words first and 
> prefixing the
> last word (i.e. "Eric Clap" -> +artist:eric +artist:clap*), 
> but this also
> gives you results that have the phrase in the wrong order 
> (i.e. returns
> results with artist "clap eric")
> 
> Is there any way to do this right?
> 
> Thanks,
> 
> Tom
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>

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


Mime
View raw message