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

[7.x][ML] Prevent fetching multi-field from source (#48770) #48797

Commits on Nov 1, 2019

  1. [7.x][ML] Prevent fetching multi-field from source (elastic#48770)

    Aggregatable mutli-fields are at the moment wrongly mapped
    as normal doc_value fields and thus they support fetching from
    source. However, they do not exist in the source. This results
    to failure to extract such fields.
    
    This commit fixes this bug. While a fix could be worked out
    on top of the existing code, it is evident the extraction logic
    has become difficult to understand and maintain. As we also
    want to deduplicate multi-fields for data frame analytics,
    it seemed appropriate to refactor the code to simplify and
    better handle the extraction of multi-fields.
    
    Relates elastic#48756
    
    Backport of elastic#48770
    dimitris-athanasiou committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    f38d39a View commit details
    Browse the repository at this point in the history