Skip to content

can't facet by date_display #122

Description

@karindalziel

If I try to facet by date_display I get an error

https://cdrhdev1.unl.edu/api/v1/collection/stories_humanity/items?num=0&facet[]=date_display

 "res": {
    "code": 500,
    "message": "Something went wrong",
    "info": {
      "documentation": "TODO",
      "error": {
        "error": {
          "root_cause": [
            {
              "type": "illegal_argument_exception",
              "reason": "Field [date_display] of type [keyword] does not support custom formats"
            }
          ],
          "type": "search_phase_execution_exception",
          "reason": "all shards failed",
          "phase": "query",
          "grouped": true,
          "failed_shards": [
            {
              "shard": 0,
              "index": "cdrhapidev-v1.2",
              "node": "GfGYxyE8QlCry-BboNpfyw",
              "reason": {
                "type": "illegal_argument_exception",
                "reason": "Field [date_display] of type [keyword] does not support custom formats"
              }
            }
          ],
          "caused_by": {
            "type": "illegal_argument_exception",
            "reason": "Field [date_display] of type [keyword] does not support custom formats",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Field [date_display] of type [keyword] does not support custom formats"
            }
          }
        },
        "status": 400
      },
      "suggestion": "TODO"
    }
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions