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

Highlighters skip ignored keyword values (#53408) #53604

Merged

Commits on Mar 16, 2020

  1. Highlighters skip ignored keyword values (elastic#53408)

    Keyword field values with length more than ignore_above are not
    indexed. But highlighters still were retrieving these values
    from _source and were trying to highlight them. This sometimes lead to
    errors if a field length exceeded  max_analyzed_offset. But also this
    is an overall wrong behaviour to attempt to highlight something that was
    ignored during indexing.
    
    This PR checks if a keyword value was ignored because of its length,
    and if yes, skips highlighting it.
    
    Closes elastic#43800
    mayya-sharipova committed Mar 16, 2020
    Configuration menu
    Copy the full SHA
    5f7af83 View commit details
    Browse the repository at this point in the history