Revision: 16643
http://sourceforge.net/p/gate/code/16643
Author: markagreenwood
Date: 2013-04-12 13:58:25 +0000 (Fri, 12 Apr 2013)
Log Message:
-----------
added a method to allow access to the query ID that the remote query runner
gives access to, so that in theory you could access the same query via the XML
rest service
Modified Paths:
--------------
mimir/trunk/mimir-client/src/gate/mimir/search/RemoteQueryRunner.java
Modified: mimir/trunk/mimir-client/src/gate/mimir/search/RemoteQueryRunner.java
===================================================================
--- mimir/trunk/mimir-client/src/gate/mimir/search/RemoteQueryRunner.java
2013-04-12 01:53:15 UTC (rev 16642)
+++ mimir/trunk/mimir-client/src/gate/mimir/search/RemoteQueryRunner.java
2013-04-12 13:58:25 UTC (rev 16643)
@@ -153,7 +153,7 @@
/**
* The query ID for the actual query runner, local to the remote index.
*/
- private String queryId;
+ protected String queryId;
/**
* The total number of result documents (or -1 if not yet known).
@@ -534,5 +534,11 @@
throw new RuntimeException("Error communicating to remote endpoint", e);
}
}
-
+
+ /**
+ * Returns the query ID that this instance is working over.
+ */
+ public String getQueryId() {
+ return queryId;
+ }
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs