Skip to content

Add search support for datasetName and datasetID #662

Description

@MortenHofft

Prompted by gbif/portal-feedback#3006 and gbif/portal-feedback#3026

The desire in above issues it to have a way to search for occurrences within or across datasets using datasetName https://dwc.tdwg.org/terms/#dwc:datasetName and datasetID https://dwc.tdwg.org/terms/#dwc:datasetID.

And to allow multiple values when the publisher delimits them by |.

So if a publisher provides an occurrence withdatasetName: projectA|projectB then it should be possible in the API to find that occurrence by adding a filter like datasetName=projectA (a keyword filter in ES terminology I guess?)

I do not believe we need a suggest endpoint for this.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions