Setting default lookup queries for QueryParser
When my users enter the term "word", I would like it to be treated as a wildcard query for "word *" so that all terms starting with "word" are found. Is there a way to tell the QueryParser to automatically generate templated queries or do I need to parse the query myself? This shouldn't be a problem for simple queries, but it can be difficult for more complex queries.
+2
a source to share