Skip to content

Reloading analyzers doesn't bust the request cache #66722

Open
@nik9000

Description

@nik9000

When working on #66295 @jtibshirani realized that reloading analyzers also doesn't clear the request cache when it probably should. We expect most folks that reload search analyzers probably aren't going to bump into this because they are likely to have non-0 top hits so they won't have the cache enabled by default. But search analyzers can play a part in queries the kind of pure aggregation queries that enable the request cache by default - they can filter the data seen by aggs and they define the filters aggs. Busting the cache when the analyzers is the safest thing from a "correctness" stand point. It is rare so it shouldn't cause a huge performance hit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Relevance/AnalysisHow text is split into tokens>bugTeam:Search RelevanceMeta label for the Search Relevance team in Elasticsearchpriority:normalA label for assessing bug priority to be used by ES engineers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions