Skip to content

Add an option to split on whitespace at query time on keyword fields #30393

Closed
@jpountz

Description

@jpountz

Follow-up of #30131. We should add a way to configure keyword fields so that text would be split on whitespace at query time. In FixitFriday it was suggested that we do this by adding something like a split_queries_on_whitespace flag that sets a whitespace analyzer as a search analyzer when set to true. We also considered making it possible to configure a search analyzer, but it felt too flexible for this simple need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/MappingIndex mappings, including merging and defining field types>featureTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions