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 22:15:32 GMT
Wonderful! But what about wildcards? I realised after I had sent the
last message that my pattern should have been written:

   ( term | term as prefix | wildcard term )+

-- Robert

On Tue, 11 Oct 2005, Daniel Naber wrote:

> On Dienstag 11 Oktober 2005 22:53, Robert Watkins wrote:
>
>> 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:
>
> No, the test cases show that the prefix term can be anywhere (at least the
> test cases in SVN do, where the class has been renamed MultiPhraseQuery).
>
> 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