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: Minor class change in lucene 4.
Date Tue, 16 Oct 2012 01:40:45 GMT
Updated Branches:
  refs/heads/lucene-4.0.0 a5054c950 -> 93fd30ba0
  refs/heads/new-api-prototype 234bc49bc -> 2b89bce8d


Minor class change in lucene 4.


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

Branch: refs/heads/lucene-4.0.0
Commit: 93fd30ba0cef959a6a5463a57ebf086a9fa1bc91
Parents: 9108083
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Oct 15 21:31:10 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Oct 15 21:31:10 2012 -0400

----------------------------------------------------------------------
 .../org/apache/blur/utils/RowDocumentUtil.java     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/93fd30ba/src/blur-core/src/main/java/org/apache/blur/utils/RowDocumentUtil.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/utils/RowDocumentUtil.java b/src/blur-core/src/main/java/org/apache/blur/utils/RowDocumentUtil.java
index 25bca7d..34f1955 100644
--- a/src/blur-core/src/main/java/org/apache/blur/utils/RowDocumentUtil.java
+++ b/src/blur-core/src/main/java/org/apache/blur/utils/RowDocumentUtil.java
@@ -26,7 +26,7 @@ import org.apache.blur.thrift.generated.FetchRecordResult;
 import org.apache.blur.thrift.generated.Record;
 import org.apache.blur.thrift.generated.Row;
 import org.apache.lucene.document.Document;
-import org.apache.lucene.document.Fieldable;
+import org.apache.lucene.index.IndexableField;
 
 
 public class RowDocumentUtil {
@@ -70,7 +70,7 @@ public class RowDocumentUtil {
   public static String readRecord(Document document, ReaderBlurRecord reader) {
     String rowId = null;
     String family = null;
-    for (Fieldable field : document.getFields()) {
+    for (IndexableField field : document.getFields()) {
       if (field.name().equals(ROW_ID)) {
         rowId = field.stringValue();
       } else if (field.name().equals(RECORD_ID)) {


Mime
View raw message