lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r817924 - in /lucene/solr/trunk/src/java/org/apache/solr/analysis: CommonGramsFilterFactory.java CommonGramsQueryFilterFactory.java
Date Wed, 23 Sep 2009 01:52:20 GMT
Author: koji
Date: Wed Sep 23 01:52:20 2009
New Revision: 817924

URL: http://svn.apache.org/viewvc?rev=817924&view=rev
Log:
SOLR-908: remove unnecessary property

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsFilterFactory.java
    lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsQueryFilterFactory.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsFilterFactory.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsFilterFactory.java?rev=817924&r1=817923&r2=817924&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsFilterFactory.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsFilterFactory.java Wed
Sep 23 01:52:20 2009
@@ -40,7 +40,6 @@
   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 @@
     //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;

Modified: lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsQueryFilterFactory.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsQueryFilterFactory.java?rev=817924&r1=817923&r2=817924&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsQueryFilterFactory.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/analysis/CommonGramsQueryFilterFactory.java
Wed Sep 23 01:52:20 2009
@@ -39,7 +39,6 @@
   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 @@
 
   private boolean ignoreCase;
 
-  private boolean enablePositionIncrements;
-
-  public boolean isEnablePositionIncrements() {
-    return enablePositionIncrements;
-  }
-
   public boolean isIgnoreCase() {
     return ignoreCase;
   }



Mime
View raw message