Uploaded image for project: 'Hibernate Search'
  1. Hibernate Search
  2. HSEARCH-2414

ZonedDateTime cannot be indexed with Elasticsearch 2.4.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 5.6.0.Alpha3
    • Fix Version/s: None
    • Component/s: elasticsearch
    • Labels:
      None
    • Environment:
      Elasticsearch 2.4.1
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:
      HSEARCH - 2016-03

      Description

      14:11:06,974 (main) ERROR LogErrorHandler:67 - HSEARCH000058: Exception occurred org.hibernate.search.exception.SearchException: HSEARCH400007: Elasticsearch request failed.
       Request:
      ========
      Operation: Index
      Index: org.hibernate.search.elasticsearch.test.elasticsearchjavatimeit$sample
      Type: org.hibernate.search.elasticsearch.test.ElasticsearchJavaTimeIT$Sample
      Id: 1
      Data:
      {"zonedDateTime":"2011-10-30T02:50:00.007+01:00[CET]","description":"ZonedDateTime example"}
      Response:
      =========
      Status: 400
      Error message: {"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse [zonedDateTime]"}],"type":"mapper_parsing_exception","reason":"failed to parse [zonedDateTime]","caused_by":{"type":"illegal_argument_exception","reason":"Invalid format: \"2011-10-30T02:50:00.007+01:00[CET]\" is malformed at \"CET]\""}}
      Cluster name: null
      Cluster status: 400
      
      
      Primary Failure:
      	Entity org.hibernate.search.elasticsearch.test.ElasticsearchJavaTimeIT$Sample  Id 1  Work Type  org.hibernate.search.backend.AddLuceneWork
      Subsequent failures:
      	Entity org.hibernate.search.elasticsearch.test.ElasticsearchJavaTimeIT$Sample  Id 1  Work Type  org.hibernate.search.backend.AddLuceneWork
      

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: