Hi,
it should be possible. I think there should be a MultiFieldQueryParser.setAllowLeadingWildcard(boolean b) method. The default is not to allow leading wild cards for performance reasons. You might also run into the problem of too many query terms, because Lucene will have to expand your search query. Do you really need leading wild cards? If so, filtering might be a better solution.
All that said, I have to admit that I haven't worked for a long time with such a old version of Search. If you can I recommend you do upgrade to the latest stable version.
--Hardy
|