I have a dotnetnuke module that integrates the search infrastructure of dotnetnuke with Lucene. The Lucene.search API takes either a query or a string containing what i need to search for.
For reasons i won't detail here, i can't create the query directly so i use the QueryParser abilities to parse the search string. It works great, except that i haven't found how to combine PhraseQuery and PrefixQuery in the search parameters.
I'd like to be able to parse the following string "here be drag" and have it return documents containing "here be dragons" or "here be dragsters"
I tried parsing "here be drag"* and "here be drag*" but not luck. Is there a special syntax to parse this kind of combination?