Skip to content

Change field data apis to use BaseCompositeReader instead of DirectoryReader #23338

@martijnvg

Description

@martijnvg

Because we use DirectoryReader we can let the lucene test framework randomily wrap the readers in our aggregation unit tests:
5bbfb6c#diff-ab07a3e29560885c391583295d69c3d1R101

If we would change all field data and field data cache signatures to use BaseCompositeReader instead of DirectoryReader we would be able to randomily wrap readers in these tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>testIssues or PRs that are addressing/adding testsdiscuss

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions