Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:
      None

      Description

      Prerequisite: Use branch from LPS-115774 to update ES to 7.7, then run tests with "gw test ---tests [testname]".

      Description:
      The following tests in portal-search-elasticsearch7-impl fail. 

      com.liferay.portal.search.elasticsearch7.internal.aggregation.pipeline.CumulativeSumPipelineAggregationTest > testCumulativeSum
      com.liferay.portal.search.elasticsearch7.internal.aggregation.pipeline.MovingFunctionPipelineAggregationTest > testMovingFunction 
      com.liferay.portal.search.elasticsearch7.internal.aggregation.pipeline.DerivativeBucketPipelineAggregationTest > testDerivative
      com.liferay.portal.search.elasticsearch7.internal.aggregation.pipeline.SerialDiffPipelineAggregationTest > testSerialDiff FAILED
      

      The failure take the form of the following, full logs attached:

      org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: parent histogram of derivative aggregation [derivative] must have min_doc_count of 0;
              at org.elasticsearch.action.ValidateActions.addValidationError(ValidateActions.java:26)
              at org.elasticsearch.search.aggregations.PipelineAggregationBuilder$ValidationContext.addValidationError(PipelineAggregationBuilder.java:188)
              at org.elasticsearch.search.aggregations.PipelineAggregationBuilder$ValidationContext$ForInsideTree.validateParentAggSequentiallyOrdered(PipelineAggregationBuilder.java:153)
              at org.elasticsearch.search.aggregations.pipeline.DerivativePipelineAggregationBuilder.validate(DerivativePipelineAggregationBuilder.java:157)
              at org.elasticsearch.search.aggregations.AggregatorFactories$Builder.validatePipelines(AggregatorFactories.java:322)
              at org.elasticsearch.search.aggregations.AggregatorFactories$Builder.validateChildren(AggregatorFactories.java:333)
              at org.elasticsearch.search.aggregations.AggregatorFactories$Builder.validate(AggregatorFactories.java:307)
              at org.elasticsearch.action.search.SearchRequest.validate(SearchRequest.java:290)
              at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1575)
              at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1549)
              at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:1065)
              at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.search.SearchSearchRequestExecutorImpl.getSearchResponse(SearchSearchRequestExecutorImpl.java:94)
              

      Expected Results: Tests should pass.

        Attachments

          Activity

            People

            Assignee:
            andre.oliveira André Ricardo Barreto de Oliveira
            Reporter:
            joshua.cords Joshua Cords
            Recent user:
            André Ricardo Barreto de Oliveira
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              34 weeks, 2 days ago

                Packages

                Version Package