Skip to content

Customize schema to change TrieDateFields to DateRangeField #33

@vchendrix

Description

@vchendrix

Now that the Public Package Service API is allowing users to search by published date it would be desireable to allow users to search by a truncated date (e.g '2021' entire year) instead of the entire date time (e.g [ 2021-01-01T00:00:00.00Z TO 2021-12-31T00:00:00.00Z } entire year).

Currently, the datePublished solr field (in addition to all other solr datetime fields) are TrieDateFields. However in order to be able to search date ranges by a truncated date then the field needs to be a DateRangeField. This will require a customization of the solr managed schema bundled with the metacat release.

Proposed Solution
Add a process for patching the metacat solr schema.

Related to ess-dive/essdive-package-service#242

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions