Skip to content

[Feature Request] Enable debug logging for Approximation framework #18318

@harshavamsi

Description

@harshavamsi

Is your feature request related to a problem? Please describe

Similar to how we have debug logs in other optimization paths eg -

logger.debug("Fast filter rewriteable: {} for shard {}", canOptimize, shardId);
.

We should enable debug logging for how the optimization works, how many docs per segment we are collecting. How many nodes of the point tree we are visiting, how many leaves we are reading etc. This should help us understand if/when there are regressions.

Describe the solution you'd like

  • Enable debug logging
  • Enable more logs by adding them to AbstractProfiler so that we can profile the results

Related component

Search:Performance

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions