Sorry, no functions on content. When I need to do something like that, I add a field to the record with that value.
Ralph
-----Original Message-----
From: SRU (Search and Retrieve Via URL) Implementors [mailto:[log in to unmask]] On Behalf Of Farrukh Najmi
Sent: Monday, February 10, 2014 12:22 PM
To: [log in to unmask]
Subject: Count function in context sets?
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
|