incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/8] git commit: Prime doc term needed text not just a field.
Date Sun, 03 Mar 2013 19:37:03 GMT
Prime doc term needed text not just a field.


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

Branch: refs/heads/0.2-dev
Commit: d9cf26f7548ad1deabd124eac16b9dc6925398fd
Parents: 3bec1f2
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Feb 27 19:51:52 2013 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Feb 27 19:51:52 2013 -0500

----------------------------------------------------------------------
 .../java/org/apache/blur/server/TableContext.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d9cf26f7/src/blur-core/src/main/java/org/apache/blur/server/TableContext.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/server/TableContext.java b/src/blur-core/src/main/java/org/apache/blur/server/TableContext.java
index 10285ef..a7e2ed4 100644
--- a/src/blur-core/src/main/java/org/apache/blur/server/TableContext.java
+++ b/src/blur-core/src/main/java/org/apache/blur/server/TableContext.java
@@ -92,7 +92,7 @@ public class TableContext {
     tableContext.timeBetweenCommits = configuration.getLong(BLUR_SHARD_TIME_BETWEEN_COMMITS,
60000);
     tableContext.timeBetweenRefreshs = configuration.getLong(BLUR_SHARD_TIME_BETWEEN_REFRESHS,
5000);
     tableContext.typeChecker = typeChecker;
-    tableContext.defaultPrimeDocTerm = new Term("_primedoc_");
+    tableContext.defaultPrimeDocTerm = new Term("_primedoc_","true");
     tableContext.defaultScoreType = ScoreType.SUPER;
 
     Class<?> c1 = configuration.getClass(BLUR_LUCENE_INDEX_DELETION_POLICY_CLASS, KeepOnlyLastCommitDeletionPolicy.class);


Mime
View raw message