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

Fix PreConfiguredTokenFilters getSynonymFilter() implementations #38858

Merged
merged 1 commit into from
Feb 14, 2019

Commits on Feb 13, 2019

  1. Fix PreConfiguredTokenFilters getSynonymFilter() implementations (ela…

    …stic#38839)
    
    When we added support for TokenFilterFactories to specialise how they were used when parsing
    synonym files, PreConfiguredTokenFilters were set up to either apply themselves, or be ignored.
    This behaviour is a leftover from an earlier iteration, and also has an incorrect default.
    
    This commit makes preconfigured token filters usable in synonym file parsing by default, and brings
    those filters that should not be used into line with index-specific filter factories; in indexes created
    before version 7 we emit a deprecation warning, and we throw an error in indexes created after.
    
    Fixes elastic#38793
    romseygeek committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    6db3ec2 View commit details
    Browse the repository at this point in the history