Skip to content

Remove redundant TopNQueryConfig#minTopNThreshold #16817

@kgyrtkirk

Description

@kgyrtkirk

Description

Only setting which could be done in it is minTopNThreshold

However that config setting value can be overriden by the context variable minTopNThreshold - which is applied in every cases here

Motivation

The query context approach is more flexible:

  • can be changed for a single query as well
  • could still be set globally via runtime properties

Possibly the whole TopNQueryConfig class can be removed as the class will be empty without this field.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions