For this, you'd just define a new CQL index, dimensionCount (within
the same context set as dimension), that works with the < relation.
-- Mike.
On 10 February 2014 17:22, Farrukh Najmi <[log in to unmask]> wrote:
> Hi Guys,
>
> I am working on a CQL context set for searching scientifica datasets in
> NetCDF resources within an ebXML RegRep based catalog using CQL. Here is a
> draft description of the specification:
>
> https://wiki.oasis-open.org/regrep/documents/plan/regrep4/NetCDFProfile#preview
>
> A simple example is to find all datasets that have a dimension named
> 'longitude' or 'latitude':
>
> dimenion.shortName = 'longitude' OR dimenion.shortName = 'latitude'
>
> We also need to support a count function to for example search for all
> NetCDF datasets that have more than 3 dimensions.
>
> dimension.count > 3
>
> Is there a way to treat count like a function that operates on dimension
> instead of an attribute of dimension?
>
> How is something like this typically handled? Thanks.
>
> --
> Regards,
> Farrukh Najmi
>
>
>
>
> --
> Regards,
> Farrukh Najmi
>
> Web: http://www.wellfleetsoftware.com
>
|