SOLR-908: remove unnecessary property

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@817924 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2009-09-23 01:52:20 +00:00
parent 3743037bc1
commit 7e8206991e
2 changed files with 0 additions and 13 deletions

View File

@ -40,7 +40,6 @@ public class CommonGramsFilterFactory extends BaseTokenFilterFactory implements
public void inform(ResourceLoader loader) {
String commonWordFiles = args.get("words");
ignoreCase = getBoolean("ignoreCase", false);
enablePositionIncrements = getBoolean("enablePositionIncrements", false);
if (commonWordFiles != null) {
try {
@ -65,11 +64,6 @@ public class CommonGramsFilterFactory extends BaseTokenFilterFactory implements
//Force the use of a char array set, as it is the most performant, although this may break things if Lucene ever goes away from it. See SOLR-1095
private CharArraySet commonWords;
private boolean ignoreCase;
private boolean enablePositionIncrements;
public boolean isEnablePositionIncrements() {
return enablePositionIncrements;
}
public boolean isIgnoreCase() {
return ignoreCase;

View File

@ -39,7 +39,6 @@ public class CommonGramsQueryFilterFactory extends BaseTokenFilterFactory
public void inform(ResourceLoader loader) {
String commonWordFiles = args.get("words");
ignoreCase = getBoolean("ignoreCase", false);
enablePositionIncrements = getBoolean("enablePositionIncrements", false);
if (commonWordFiles != null) {
try {
@ -71,12 +70,6 @@ public class CommonGramsQueryFilterFactory extends BaseTokenFilterFactory
private boolean ignoreCase;
private boolean enablePositionIncrements;
public boolean isEnablePositionIncrements() {
return enablePositionIncrements;
}
public boolean isIgnoreCase() {
return ignoreCase;
}