Skip to content
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

can't facet by date_display #122

Open
karindalziel opened this issue Apr 14, 2022 · 2 comments
Open

can't facet by date_display #122

karindalziel opened this issue Apr 14, 2022 · 2 comments

Comments

@karindalziel
Copy link
Member

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"
    }
  }
@wkdewey
Copy link
Contributor

wkdewey commented Apr 14, 2022

@wkdewey
Copy link
Contributor

wkdewey commented May 11, 2022

Is faceting by date_display useful in projects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants