Skip to content

Discrepancy between Query types in Fields property #8081

Closed
@gpetrou

Description

@gpetrou

Elastic.Clients.Elasticsearch version: 8.13.1

Elasticsearch version: 8.11

.NET runtime version: 8.0

Operating system version:

Description of the problem including expected versus actual behavior:
MultiMatchQuery has a Fields property of Elastic.Clients.Elasticsearch.Fields? type.
QueryStringQuery and SimpleQueryStringQuery have a Fields property of ICollection<Elastic.Clients.Elasticsearch.Field>? type.
Is there a reason for this change in the new version of the library? Shouldn't these be of the same Elastic.Clients.Elasticsearch.Fields? type?

Steps to reproduce:
1.
2.
3.

Expected behavior
A clear and concise description of what you expected to happen.

Provide ConnectionSettings (if relevant):

Provide DebugInformation (if relevant):

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