Skip to content

Construct the significant terms aggregation builder's parser statically #25519

@nik9000

Description

@nik9000

Right now we build a new ObjectParser every time we want get a significant terms aggregation. We do this because we had to pass in ParseFieldRegistry<SignificanceHeuristicParser>. I think we can avoid this by moving ParseFieldRegistry<SignificanceHeuristicParser> to NamedXContentRegistry style parsing.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions