I would like the phrase search for st* to return matches which expand the
wildcard... but it doesn't seem to work.
right now I can get search for stuff and search for stars to return
hits, but search for st* doesn't.
Any ideas on how to implement this functionality?
Thanks,
Eoin
--
To
Eoin,
Get the cvs version and have a look at:
org/apache/lucene/search/PhrasePrefixQuery.java
It sais:
/**
* PhrasePrefixQuery is a generalized version of PhraseQuery, with an added
* method {@link #add(Term[])}.
* To use this class, to search for the phrase Microsoft app* first use
*