incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/2] git commit: Removing commented out code.
Date Wed, 06 Nov 2013 15:34:33 GMT
Updated Branches:
  refs/heads/apache-blur-0.2 5d026a3dd -> c128f0917


Removing commented out code.


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

Branch: refs/heads/apache-blur-0.2
Commit: a6aede39a8ad6db02466e2a87d57ad549a1650a3
Parents: 5d026a3
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Nov 6 10:26:29 2013 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Nov 6 10:26:29 2013 -0500

----------------------------------------------------------------------
 .../manager/writer/TransactionRecorder.java     | 41 --------------------
 1 file changed, 41 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/a6aede39/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
b/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
index ad9c690..05adfb5 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/writer/TransactionRecorder.java
@@ -400,17 +400,6 @@ public class TransactionRecorder extends TimerTask implements Closeable
{
     return fields;
   }
 
-  // public static Document convert(String rowId, Record record, Analyzer
-  // analyzer) {
-  // BlurUtil.validateRowIdAndRecord(rowId, record);
-  // Document document = new Document();
-  // document.add(new Field(BlurConstants.ROW_ID, rowId, ID_TYPE));
-  // document.add(new Field(BlurConstants.RECORD_ID, record.recordId, ID_TYPE));
-  // document.add(new Field(BlurConstants.FAMILY, record.family, ID_TYPE));
-  // addColumns(document, analyzer, record.family, record.columns);
-  // return document;
-  // }
-
   private Term createRowId(String id) {
     return new Term(BlurConstants.ROW_ID, id);
   }
@@ -437,36 +426,6 @@ public class TransactionRecorder extends TimerTask implements Closeable
{
     }
   }
 
-  // public static boolean addColumns(Document document, Analyzer analyzer,
-  // String columnFamily, Iterable<Column> set) {
-  // if (set == null) {
-  // return false;
-  // }
-  // OUTER: for (Column column : set) {
-  // String name = column.getName();
-  // String value = column.value;
-  // if (value == null || name == null) {
-  // continue OUTER;
-  // }
-  // String fieldName = getFieldName(columnFamily, name);
-  // FieldType fieldType = analyzer.getFieldType(fieldName);
-  // Field field = analyzer.getField(fieldName, value, fieldType);
-  // document.add(field);
-  //
-  // if (analyzer.isFullTextField(fieldName)) {
-  // document.add(new Field(SUPER, value, SUPER_FIELD_TYPE));
-  // }
-  // Set<String> subFieldNames = analyzer.getSubIndexNames(fieldName);
-  // if (subFieldNames != null) {
-  // for (String subFieldName : subFieldNames) {
-  // FieldType subFieldType = analyzer.getFieldType(subFieldName);
-  // document.add(analyzer.getField(subFieldName, value, subFieldType));
-  // }
-  // }
-  // }
-  // return true;
-  // }
-
   public static String getFieldName(String columnFamily, String name) {
     return columnFamily + SEP + name;
   }


Mime
View raw message