Skip to content

Don't profile ConstantScore queries #23430

@clintongormley

Description

@clintongormley

A ConstantScore query will return the iterator of its inner query. However, when profiling, the constant score query is wrapped separately from its inner query, which distorts the times emitted by the profiler.

This could be fixed by not wrapping the iterator if it is already a profiling implementation.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions