Skip to content

TypedKeys property not working - always return true #8431

@bsehrabt

Description

@bsehrabt

Elastic.Clients.Elasticsearch version: 8.15.8 / 8.16.3

Elasticsearch version: 8.13.4

.NET runtime version: 8.0

Operating system version: Win 11

Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.

TypedKeys property is not honored and always returns true.

Steps to reproduce:

  1. Write any simple query with property TypedKeys(false)
  2. Elasticsearch client I'm using has property DisableDirectStreaming()
  3. Search response always returned with type_keys=true which adds prefixes to the response. For example sterm#, filters#, cardinality# etc.
  4. TypedKeys property is not honoured and always returns true. I can't switch it off by using TypedKeys(false)

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

SearchAsync should return search results with typed_keys false

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