The main search API into RAMADDA is
/search/do , e.g:
http://localhost:8080/repository/search/do?<arguments>
The entry types, metadata types and output types that are available at a given RAMADDA
are listed at
/search/info, e.g.:
http://localhost:8080/repository/search/info
The search arguments include:
The default is to show the above results in a web page. Like any time dealing with entries in RAMADDA you can specify another output type with:
output=<some output>
Common outputs include:
output=atom
output=rss.full
output=thredds.catalog
output=zip.tree
output=default.csv
To search on entry name or description:
text=<text in name or description>
http://localhost:8080/repository/search/do?text=test
You can search on entries of specific types with:
type=<entry type>
http://localhost:8080/repository/search/do?type=group
Date Search
There are 3 types of date based searches. All dates expressed here should be in a standard formats, e.g., 2007-09-01'T'11:05.
//TODO: fix this in the code
Entries have a data date range. This can be searched with:
datadate.from=<lower date range>
datadate.to=<upper date range>
Where the lower date of the entry date range needs to be >= the datadate.from and the upper date of the entry date range is <= the datedate.to
The date when the entry was created and/or modified can be searched with:
createdate.from=<lower date range>
createdate.to=<upper date range>
changedate.from=<lower date range>
changedate.to=<upper date range>
The type of search can be specified with:
datadate.mode=containedby|overlaps|contains
Spatial Search
Entries have a spatial bounds. The
area_ search arguments define a search rectangle. The
areamode argument specifies the type of search -
does the search rectangle overlap or contain the entries bounds.
area_north=<decimal degrees>
area_west=<decimal degrees>
area_east=<decimal degrees>
area_south=<decimal degrees>
areamode=overlaps|contains
Miscellaneous
For entries that have a file the file suffix (e.f., .pdf) can be search on
filesuffix=pdf
Metadata Properties
metadata.attr1.<type>