Thanks Daniel, I understand how it can be done. The only things that bothers me is that expanding the "*" might result in many phrases, and that in turn might imply a performance hit. I'll see what the impact is,
Regards Ard > > On Wednesday 08 August 2007 10:28, Ard Schrijvers wrote: > > > Does anybody know a more efficient way? A PhraseQuery might get me > > somewhere, isn't? > > No, you need to use MultiPhraseQuery, and you will need to > first epxand the > terms with the "*" yourself (e.g. using term enumeration). > > > as a phrase is analyzed according some analyzer it might > strip the 'the' > > as a stopword, implying that *oo bar qu* would also match, right? > > Stopwords need to be removed everywhere, i.e. also from > phrases, this way > they generally work as expected. > > Regards > Daniel > > -- > http://www.danielnaber.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]