-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keyword searching #26
Comments
Push :-) |
Similar to #25, for single term equality queries, I would suggest a "safer" way to query with: For compound queries with specific syntaxes such as AND OR NOT, etc., I would delegate to your examples of |
A search for |
@kaiwirt you could use the |
It's the example "Quantity of precipitation" that triggers me here (admittedly, a bit out of context): Please try to support a more unified vocabulary approach based on the WMO/WIGOS code lists, which in this case, would use "Amount of precipitation". |
Thanks @joergklausen. WCMP2's WCMP2 provides |
In the keyword search it is apparently possible to search for several keyword values, whereby the default operator ‘AND’ seems to be used, e.g.
https://wis2.dwd.de/gdc/collections/wis2-discovery-metadata/items?f=json&limit=200&keywords=prediction
--> numberMatched = 58
https://wis2.dwd.de/gdc/collections/wis2-discovery-metadata/items?f=json&limit=200&keywords=prediction,global
--> numberMatched = 34
https://wis2.dwd.de/gdc/collections/wis2-discovery-metadata/items?f=json&limit=200&keywords=prediction,global,%22Weather%20and%20Climate%22
--> numberMatched = 29
It seems to be possible to change the operator to OR, e.g. via
https://wis2.dwd.de/gdc/collections/wis2-discovery-metadata/items?f=json&limit=200&q=(keywords:prediction%20global)
--> numberMatched = 96
Does this behaviour apply in principle?
The text was updated successfully, but these errors were encountered: