incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixed BLUR-257
Date Fri, 04 Oct 2013 17:14:47 GMT
Updated Branches:
  refs/heads/apache-blur-0.2 48617571e -> 058b48c9b


Fixed BLUR-257


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/058b48c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/058b48c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/058b48c9

Branch: refs/heads/apache-blur-0.2
Commit: 058b48c9b3501c92b00d95b03f8af1f5b5c41074
Parents: 4861757
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Fri Oct 4 13:12:54 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Fri Oct 4 13:12:54 2013 -0400

----------------------------------------------------------------------
 blur-core/src/main/java/org/apache/blur/server/TableContext.java | 4 ++--
 blur-util/src/main/java/org/apache/blur/utils/BlurConstants.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/058b48c9/blur-core/src/main/java/org/apache/blur/server/TableContext.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/server/TableContext.java b/blur-core/src/main/java/org/apache/blur/server/TableContext.java
index 5b85e2e..1e22ce6 100644
--- a/blur-core/src/main/java/org/apache/blur/server/TableContext.java
+++ b/blur-core/src/main/java/org/apache/blur/server/TableContext.java
@@ -17,7 +17,7 @@ package org.apache.blur.server;
  * limitations under the License.
  */
 import static org.apache.blur.utils.BlurConstants.BLUR_FIELDTYPE;
-import static org.apache.blur.utils.BlurConstants.BLUR_SAHRD_INDEX_SIMILARITY;
+import static org.apache.blur.utils.BlurConstants.BLUR_SHARD_INDEX_SIMILARITY;
 import static org.apache.blur.utils.BlurConstants.BLUR_SHARD_INDEX_DELETION_POLICY_MAXAGE;
 import static org.apache.blur.utils.BlurConstants.BLUR_SHARD_TIME_BETWEEN_COMMITS;
 import static org.apache.blur.utils.BlurConstants.BLUR_SHARD_TIME_BETWEEN_REFRESHS;
@@ -166,7 +166,7 @@ public class TableContext {
         KeepOnlyLastCommitDeletionPolicy.class);
     tableContext.indexDeletionPolicy = (IndexDeletionPolicy) configure(ReflectionUtils.newInstance(c1,
configuration),
         tableContext);
-    Class<?> c2 = configuration.getClass(BLUR_SAHRD_INDEX_SIMILARITY, DefaultSimilarity.class);
+    Class<?> c2 = configuration.getClass(BLUR_SHARD_INDEX_SIMILARITY, DefaultSimilarity.class);
     tableContext.similarity = (Similarity) configure(ReflectionUtils.newInstance(c2, configuration),
tableContext);
 
     cache.put(name, tableContext);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/058b48c9/blur-util/src/main/java/org/apache/blur/utils/BlurConstants.java
----------------------------------------------------------------------
diff --git a/blur-util/src/main/java/org/apache/blur/utils/BlurConstants.java b/blur-util/src/main/java/org/apache/blur/utils/BlurConstants.java
index ecc1b41..888c72f 100644
--- a/blur-util/src/main/java/org/apache/blur/utils/BlurConstants.java
+++ b/blur-util/src/main/java/org/apache/blur/utils/BlurConstants.java
@@ -71,7 +71,7 @@ public class BlurConstants {
   public static final String BLUR_SHARD_OPENER_THREAD_COUNT = "blur.shard.opener.thread.count";
   public static final String BLUR_SHARD_INDEX_DELETION_POLICY_MAXAGE = "blur.shard.index.deletion.policy.maxage";
   public static final String BLUR_ZOOKEEPER_SYSTEM_TIME_TOLERANCE = "blur.zookeeper.system.time.tolerance";
-  public static final String BLUR_SAHRD_INDEX_SIMILARITY = "blur.sahrd.index.similarity";
+  public static final String BLUR_SHARD_INDEX_SIMILARITY = "blur.shard.index.similarity";
   
   public static final String BLUR_FIELDTYPE = "blur.fieldtype.";
 


Mime
View raw message