You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Hans Merkl <hm...@hmerkl.com> on 2010/05/15 05:27:12 UTC
Setting wildcard queries as default for QueryParser
When my users enter a term like "word" I would like it be treated as a
wildcard query "word*" so all terms beginning with "word" are found. Is
there a way to tell the QueryParser to automatically create wildcard queries
or do I have to parse the query myself? This shouldn't be a problem for
simple queries but it may become tricky for more complex queries.