You are here: Home User Guide Open Search (Solr)

Open Search (Solr)

OpenSearch (Solr) is a set of technologies that allow publishing of search results in a standard and accessible format. OpenSearch is RESTful technology and complementary to the OData. In fact, OpenSearch can be used to complementary serve as the query aspect of OData, which provides a way to access identified or located results and download them. The Data Hub implementation uses the Apache Solr search engine.

URI components

https://data.sentinel.zamg.ac.at/search?q=<query>

where:

  • https://data.sentinel.zamg.ac.at is the Service Root
  • search?q=<query> is the Query

 

Using Open Search to discover products in the Data Hub archive

Discover the list of the products stored in the archive

The syntax is:

https://data.sentinel.zamg.ac.at/search?q=*

Example:

  • https://data.sentinel.zamg.ac.at/search?q=*
    The above URI returns an XML file including the list of the nodes of every products stored in the Data Hub archive

To display just the first 10 results of the previous query, the can be completed with &rows=10&start=0

So the complete search will be : 
https://data.sentinel.zamg.ac.at/search?q=*&rows= <N> &start= <N>

Example:

  • https://data.sentinel.zamg.ac.at/search?q=*&rows=1&start=0
  • https://data.sentinel.zamg.ac.at/search?q=*&rows=1&start=5

 

Discover the products over a predefined Area Of Interest (AOI): Geographical Search

It is possible to search products on the basis of a geographical area of interest, e.g. get the list of products over a geographic area delimitated by the polygon having vertices:

https://data.sentinel.zamg.ac.at/search?q=footprint:"Intersects( <geographic type> )"

The <geographic type> value can be expressed as a polygon or as a point according to the syntax described below.


POLYGON:

<geographic type> =POLYGON((P1Lon P1Lat, P2Lon P2Lat, …, PnLon PnLat, P1Lon P1Lat))

where P1Lon and P1Lat are the Longitude and Latitude coordinates of the first point of the polygon in decimal degrees (DDD) format (e.g. 2.17403, 41.40338) and so on.

The coordinates of the last point of the polygon must coincide with the coordinates of the first point of the polygon.

The polygon describing the geographical area can have a maximum of 200 points that must be within an area described by 10 degrees of latitude and 10 degrees of longitude.

Example:

  • https://data.sentinel.zamg.ac.at/search?q=footprint:"Intersects(POLYGON((-4.53 29.85,26.75 29.85,26.75 46.80,-4.53 46.80,-4.53 29.85)))"
    is a bounding box around the Mediterranean Sea

POINT:

<geographic type>= Lat, Lon

where the Latitude ( Lat ) and Longitude ( Lon ) values are expressed in decimal degrees (DDD) format (e.g. 41.40338, 2.17403 ).

Example:

  • https://data.sentinel.zamg.ac.at/search?q=footprint:"Intersects(41.9000, 12.5000)"

 

Open Search Queries examples

The [query] in the open search URI will follow the same syntax used in the full text search. Here below we provide some examples.

ExampleOpen Search
Searches every product with SLC product type or products containing the string "SLC" in the metadata https://data.sentinel.zamg.ac.at/search?q=SLC
Searches every product with SLC product type and S1 sensor Mode or products containing the strings "GRD" and "S1" in the metadata https://.copernicus.eu/dhus/search?q=GRD AND S1
Search every products ingested in the last day https://data.sentinel.zamg.ac.at/search?q=ingestionDate:[NOW-1DAY TO NOW]
Search every products ingested in the last month https://data.sentinel.zamg.ac.at/search?q=ingestionDate:[NOW-30DAYS TO NOW]
Search every products ingested in the last hour https://data.sentinel.zamg.ac.at/search?q=ingestionDate:[NOW-1HOUR TO NOW]
Search every products ingested in the last day with GRD product type https://data.sentinel.zamg.ac.at/search?q=productType:GRD AND ingestionDate:[NOW-1DAY TO NOW]
Search every products having sensing in the last three months https://data.sentinel.zamg.ac.at/search?q=beginPosition:[NOW-3MONTHS TO NOW] AND endPosition:[NOW-3MONTHS TO NOW]
Search every products having polarization mode VV covering the geographic area delimitated by the polygon having vertices: -4.53 29.85, 26.75 29.85, 26.75 46.80,-4.53 46.80,-4.53 29.85 https://data.sentinel.zamg.ac.at/search?q=polarisationmode:VV AND footprint:"Intersects(POLYGON((-4.53 29.85, 26.75 29.85, 26.75 46.80,-4.53 46.80,-4.53 29.85)))"