incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [5/46] git commit: Made some changes to the API.
Date Tue, 30 Oct 2012 02:53:18 GMT
Made some changes to the API.


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

Branch: refs/heads/0.2-dev
Commit: aa048c56ffa401a2cf13a78a628892e84374154b
Parents: 1befa5f
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Oct 29 20:07:50 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Oct 29 20:07:50 2012 -0400

----------------------------------------------------------------------
 interface/Blur.thrift |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/aa048c56/interface/Blur.thrift
----------------------------------------------------------------------
diff --git a/interface/Blur.thrift b/interface/Blur.thrift
index bbbda02..dbf9eff 100644
--- a/interface/Blur.thrift
+++ b/interface/Blur.thrift
@@ -829,10 +829,11 @@ struct QueryArgs {
 }
 
 struct TopFieldDocs {
- 1:i64 totalHits,
- 2:list<ScoreDoc> scoreDocs,
- 3:double maxScore,
- 4:list<SortField> fields
+ 1:i32 shardIndex,
+ 2:i64 totalHits,
+ 3:list<ScoreDoc> scoreDocs,
+ 4:double maxScore,
+ 5:list<SortField> fields
 }
 
 struct Field {
@@ -854,7 +855,7 @@ struct Term {
 service Lucene extends Blur {
 
   Session openReadSession(1:string table) throws (1:BlurException e)
-  TopFieldDocs search(1:Session session, 2:QueryArgs queryArgs) throws (1:BlurException e)
+  list<TopFieldDocs> search(1:Session session, 2:QueryArgs queryArgs) throws (1:BlurException
e)
   list<Document> doc(1:Session session, 2:list<DocLocation> docLocations, 4:set<string>
fields) throws (1:BlurException e)
   void closeReadSession(1:Session session) throws (1:BlurException e)
   


Mime
View raw message