Add option to configure wildcard queries