incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [7/7] git commit: Still working on BLUR-79, getting close still not totally complete. Controller still needs work.
Date Wed, 22 May 2013 23:46:35 GMT
Still working on BLUR-79, getting close still not totally complete.  Controller still needs
work.


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

Branch: refs/heads/0.1.5
Commit: 51aa6d099bfbec1b6e44289bd3e59cbb945d3a69
Parents: 6808df1
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed May 22 10:49:50 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed May 22 19:46:16 2013 -0400

----------------------------------------------------------------------
 .../apache/blur/testsuite/SimpleQueryExample.java  |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/51aa6d09/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
----------------------------------------------------------------------
diff --git a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
index f6395dc..890c180 100644
--- a/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
+++ b/src/blur-testsuite/src/main/java/org/apache/blur/testsuite/SimpleQueryExample.java
@@ -24,8 +24,6 @@ import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.BlurQuery;
 import org.apache.blur.thrift.generated.BlurResult;
 import org.apache.blur.thrift.generated.BlurResults;
-import org.apache.blur.thrift.generated.FetchResult;
-import org.apache.blur.thrift.generated.Selector;
 import org.apache.blur.thrift.generated.SimpleQuery;
 import org.apache.thrift.TException;
 
@@ -44,12 +42,9 @@ public class SimpleQueryExample {
     simpleQuery.setQueryStr(query);
     BlurResults results = client.query(tableName, blurQuery);
     System.out.println("Total Results: " + results.totalResults);
-    
+
     for (BlurResult result : results.getResults()) {
-      String locationId = result.getLocationId();
-      System.out.println(locationId);
-      FetchResult fetchRow = client.fetchRow(tableName, new Selector().setLocationId(locationId));
-      System.out.println(fetchRow);
+      System.out.println(result);
     }
   }
 }


Mime
View raw message