Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15461

Fix elastic aggregates json writer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Rest API

      Description

      The aggregates writer is failing due to aggregates api updates.
      org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder is hidding some of its members, we could configure the Object mapper to resolve it or find another solution.
      Stacktrace:

      org.codehaus.jackson.map.JsonMappingException: No serializer found for class org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: java.util.HashMap["coverage"]->org.nuxeo.elasticsearch.aggregate.TermAggregate["esAggregate"])
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: