incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Adding missing methods.
Date Mon, 22 Jun 2015 16:23:27 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 0dac7d006 -> 47ff43380


Adding missing methods.


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

Branch: refs/heads/master
Commit: 47ff43380157b75c0f703d3e482f13e5e2335656
Parents: 0dac7d0
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Jun 22 12:23:12 2015 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Jun 22 12:23:12 2015 -0400

----------------------------------------------------------------------
 .../blur/analysis/type/AclDiscoverFieldTypeDefinition.java       | 4 ++++
 .../apache/blur/analysis/type/AclReadFieldTypeDefinition.java    | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47ff4338/blur-query/src/main/java/org/apache/blur/analysis/type/AclDiscoverFieldTypeDefinition.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/analysis/type/AclDiscoverFieldTypeDefinition.java
b/blur-query/src/main/java/org/apache/blur/analysis/type/AclDiscoverFieldTypeDefinition.java
index b6f094e..10f9ded 100644
--- a/blur-query/src/main/java/org/apache/blur/analysis/type/AclDiscoverFieldTypeDefinition.java
+++ b/blur-query/src/main/java/org/apache/blur/analysis/type/AclDiscoverFieldTypeDefinition.java
@@ -147,4 +147,8 @@ public class AclDiscoverFieldTypeDefinition extends FieldTypeDefinition
{
     return new SortField(getFieldName(), Type.STRING);
   }
 
+  @Override
+  public String readTerm(BytesRef byteRef) {
+    return byteRef.utf8ToString();
+  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47ff4338/blur-query/src/main/java/org/apache/blur/analysis/type/AclReadFieldTypeDefinition.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/analysis/type/AclReadFieldTypeDefinition.java
b/blur-query/src/main/java/org/apache/blur/analysis/type/AclReadFieldTypeDefinition.java
index 71922d2..fbdde80 100644
--- a/blur-query/src/main/java/org/apache/blur/analysis/type/AclReadFieldTypeDefinition.java
+++ b/blur-query/src/main/java/org/apache/blur/analysis/type/AclReadFieldTypeDefinition.java
@@ -147,4 +147,8 @@ public class AclReadFieldTypeDefinition extends FieldTypeDefinition {
     return new SortField(getFieldName(), Type.STRING);
   }
 
+  @Override
+  public String readTerm(BytesRef byteRef) {
+    return byteRef.utf8ToString();
+  }
 }


Mime
View raw message