incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/4] git commit: Fixed broken code, a constant field in the BlurConstants were removed.
Date Tue, 23 Oct 2012 16:20:24 GMT
Updated Branches:
  refs/heads/lucene-4.0.0 bc7b6df08 -> 790f8da93


Fixed broken code, a constant field in the BlurConstants were removed.


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

Branch: refs/heads/lucene-4.0.0
Commit: 790f8da93d2e28d7566ba97ed34db0124cda670e
Parents: 9638a1c
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Oct 23 12:19:06 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Oct 23 12:19:06 2012 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/790f8da9/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurReducer.java
----------------------------------------------------------------------
diff --git a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurReducer.java b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurReducer.java
index d16e0cd..17b5cc6 100644
--- a/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurReducer.java
+++ b/src/blur-mapred/src/main/java/org/apache/blur/mapreduce/BlurReducer.java
@@ -187,7 +187,7 @@ public class BlurReducer extends Reducer<BytesWritable, BlurMutate,
BytesWritabl
 
     List<Document> docs = documentsToIndex(new ArrayList<Document>(_newDocs.values()));
     if (docs.size() > 0) {
-      docs.get(0).add(BlurConstants.PRIME_DOC_FIELD);
+      docs.get(0).add(new Field(BlurConstants.PRIME_DOC, BlurConstants.PRIME_DOC_VALUE, Store.NO,
Index.NOT_ANALYZED_NO_NORMS));
     }
 
     switch (_blurTask.getIndexingType()) {


Mime
View raw message