class LuceneSearchEngine {

    @PostConstruct
    public void initQueryParserProperties() {
        queryParser.setLowercaseExpandedTerms(true);
        queryParser.setAllowLeadingWildcard(true);
    }

}