Skip to content

Scorers are being created under filter context, while they shouldn't #37290

@synhershko

Description

@synhershko

Running a terms query on an IP datatype field under the filter context seems to create scorers and slow down searches - although no scoring should be applied in this case. We have confirmed this by running the query under profile: true and seeing "build_scorer": 37845185684, for said query clause.

Using 6.5.4 and confirmed with few other earlier versions as well.

See full details here: https://discuss.elastic.co/t/filter-context-and-build-scorers/160725

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions