Page MenuHomeSoftware Heritage

Metadata search is failing with "failed to parse date field"
Closed, ResolvedPublic

Description

Any alphanumerical metadata search fails with swh-search, a numerical only term seems to work.
The exception is :

RequestError(400, 'search_phase_execution_exception', 'failed to parse date field [blah] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [blah] with format [strict_date_optional_time||epoch_millis]]')

Link to the exception on sentry: https://sentry.softwareheritage.org/share/issue/2cb7ca683aa64ac490512676d72a3d63/

(it's only deployed on staging and on webapp1 currently. For webapp1, the index is not populated with the metadata so it's not failing)

Event Timeline

vsellier triaged this task as Normal priority.Feb 18 2021, 10:28 AM
vsellier created this task.

This is the mapping of the origin index with the metadata : P953

vlorentz renamed this task from Metadata search is failing when swh-search is activated to Metadata search is failing with "failed to parse date field".Feb 18 2021, 12:13 PM
vlorentz closed this task as Resolved.
vlorentz claimed this task.