airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schwartz, Terri" <>
Subject RE: Retrieving Experiment Summaries
Date Fri, 21 Mar 2014 00:27:52 GMT
Hi Saminda,

I'm working on a similar issue in the cipres rest api.  I'm curious about the syntax for filter
criteria and how general purpose it will be.  Is there an implied 'and' between the individual
criterion?  Can more elaborate boolean expressions be used?

From: Saminda Wijeratne []
Sent: Thursday, March 20, 2014 2:40 PM
To: dev
Subject: Re: Retrieving Experiment Summaries

In an offline discussion with Chathuri, we came up with a simple way for gateway developers
to specify retrieving a filtered set of experiment data based on the requirements of the gateway


SearchQuery query =
new SearchQuery({Experiment.Name, Experiment.Status}, {{Experiment.Owner,"bob"},{Experiment.Project,"manhattan"}{Experiment.Created,"03-19-2014",">"})
List<Experiment> experiments = thriftAPI.getExperiments(query);

Sample syntax
sq = new SearchQuery(<list of fields that needs to be filled>, <list of filter criteria
for the data>)

Further more the SearchQuery will have the capability to specify paging (eg; experiments from
11 to 20).



On Tue, Mar 18, 2014 at 3:04 PM, Lahiru Gunathilake <<>>
 On Tue, Mar 18, 2014 at 2:55 PM, Saminda Wijeratne <<>>
For performance issues a gateway should only request a subset of data of an experiment from
Airavata server to compile a summary view of the experiment to the scientist. Based on my
current experience I feel the following data is required to compile a general summary.

  - Exp ID/Name
  - Status
  - Project
  - Owner/Creation time
+1, We can show minimum data and give detailed view on-demand. But I think we need to support
experiment search based on some criteria and develop an index for each search criteria, because
if I ran jobs for 6 months and I would never want to get all my experiments, even thought
we make it super fast will minimum data.

ex: I want to search the experiments I ran last week, or with some text base search.

We can use the above solution Saminda suggested in searching too.


We have seeing a direct relationship between the number of experiment data records and the
turnaround time. Thus we may need some paging when requesting the experiment data.

wdyt? Your thoughts are welcome.

(Using JIRA [1] to track the status of this task)

A detailed discussion on the topic is on the Architecture mailing list [2].



System Analyst Programmer
Indiana University

View raw message