Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Allow configuration of Parser.setLowercaseExpandedTerms setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Dec 13, 2011
1 parent a62fbb7 commit c1b0e25
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -139,6 +139,7 @@ public Query parse(final String query, final Operator operator, final Analyzer a
Constants.DEFAULT_FIELD, analyzer);
parser.setDefaultOperator(operator);
parser.setAllowLeadingWildcard(ini.getBoolean("lucene.allowLeadingWildcard", false));
parser.setLowercaseExpandedTerms(ini.getBoolean("lucene.lowercaseExpandedTerms", true));
return parser.parse(query);
}

Expand Down

0 comments on commit c1b0e25

Please sign in to comment.