Re: Phrase queries with wildcards

2006-12-03 Thread Chris Hostetter
: best way to "fix" this. One way would be to change QueryParser so that it : builds a MultiPhraseQuery when it encounters a wildcard inside a phrase. : However, to expand the wildcard the QueryParser needs an IndexReader. : : The other way might be to add a rewrite to PhraseQuery that returns a :

Phrase queries with wildcards

2006-12-03 Thread Daniel Naber
Hi, Lucene's phrase queries don't support wildcards and I'm thinking about the best way to "fix" this. One way would be to change QueryParser so that it builds a MultiPhraseQuery when it encounters a wildcard inside a phrase. However, to expand the wildcard the QueryParser needs an IndexReader.