Skip to content

Default index is not used in query with 8.13.8 client #8151

Closed
@jyrijh

Description

@jyrijh

Elastic.Clients.Elasticsearch 8.13.8:

Elasticsearch version 8.8.1:

.NET runtime version 8.0.:

Operating system version Windows 11:

I updated the package reference to latest and my tests started to fail,

then from the SearchResponse.DebugInformation I found that the query had changed

8.12.1
{Valid Elasticsearch response built from a successful (200) low level call on POST: /articles_query_tests.%2A/_search

8.13.8
{Valid Elasticsearch response built from a successful (200) low level call on POST: /_search

Elastic.Clients.Elasticsearch.IElasticsearchClientSettings.DefaultIndex "articles_query_tests.*" is set in client.Transport in both versions.

But because i have a copy of articles_query_tests index with name my_articles.2023, query will return articles from both.

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