lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Watkins <rwatk...@foo-bar.org>
Subject Re: wildcards within a phrase query
Date Tue, 11 Oct 2005 20:53:43 GMT
I was under the impression that PhrasePrefixQuery only worked in the
special case of the term that would otherwise be used in a PrefixQuery
coming at the end of the sequence of terms, as in:

   ( term )+ ( term as prefix )

but not where either a WildcardQuery or a PrefixQuery occurs anywhere
in the sequence of terms, such as:

   ( term | term as prefix )+

Am I missing something?

-- Robert

On Tue, 11 Oct 2005, Daniel Naber wrote:

> On Dienstag 11 Oktober 2005 15:32, Robert Watkins wrote:
>
>> The only idea that comes to mind is to try to combine a PhraseQuery and
>> a PrefixQuery
>
> Yes, PhrasePrefixQuery already supports that.
>
> Regards
> Daniel
>
> -- 
> http://www.danielnaber.de

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


Mime
View raw message