fix javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-05-20 21:27:27 +00:00
parent 0b55aaa6a2
commit 3ea62ddf6a
2 changed files with 4 additions and 8 deletions

View File

@ -33,13 +33,9 @@ import org.apache.lucene.search.MultiTermQuery;
public interface CommonQueryParserConfiguration { public interface CommonQueryParserConfiguration {
/** /**
* Set to <code>true</code> to allow leading wildcard characters. * Whether terms of multi-term queries (e.g., wildcard,
* <p> * prefix, fuzzy and range) should be automatically
* When set, <code>*</code> or <code>?</code> are allowed as the first * lower-cased or not. Default is <code>true</code>.
* character of a PrefixQuery and WildcardQuery. Note that this can produce
* very slow queries on big indexes.
* <p>
* Default: false.
*/ */
public void setLowercaseExpandedTerms(boolean lowercaseExpandedTerms); public void setLowercaseExpandedTerms(boolean lowercaseExpandedTerms);

View File

@ -58,7 +58,7 @@ public class StandardQueryConfigHandler extends QueryConfigHandler {
final public static ConfigurationKey<Boolean> ENABLE_POSITION_INCREMENTS = ConfigurationKey.newInstance(); final public static ConfigurationKey<Boolean> ENABLE_POSITION_INCREMENTS = ConfigurationKey.newInstance();
/** /**
* Key used to set whether expanded terms should be expanded * Key used to set whether expanded terms should be lower-cased
* *
* @see StandardQueryParser#setLowercaseExpandedTerms(boolean) * @see StandardQueryParser#setLowercaseExpandedTerms(boolean)
* @see StandardQueryParser#getLowercaseExpandedTerms() * @see StandardQueryParser#getLowercaseExpandedTerms()