Skip to content

Missing property SemanticTextProperty.SearchInferenceId #8467

Open
@sergey-tihon

Description

@sergey-tihon

Elastic.Clients.Elasticsearch version: 8.17.1

Elasticsearch version: 8.17.2

.NET runtime version: 9.0

Operating system version: macOS

Description of the problem including expected versus actual behavior:

According to the docs https://www.elastic.co/guide/en/elasticsearch/reference/current/semantic-text.html#semantic-text-params SemanticTextProperty should have both InferenceId and SearchInferenceId properties, but it does not

public sealed partial class SemanticTextProperty : IProperty
{
[JsonInclude, JsonPropertyName("inference_id")]
public Elastic.Clients.Elasticsearch.Id InferenceId { get; set; }
[JsonInclude, JsonPropertyName("meta")]
public IDictionary<string, string>? Meta { get; set; }
[JsonInclude, JsonPropertyName("type")]
public string Type => "semantic_text";
}

Expected behavior

Add new property

	[JsonInclude, JsonPropertyName("search_inference_id")]
	public Elastic.Clients.Elasticsearch.Id SearchInferenceId { get; set; }

p.s. @flobernd appreciate if you can do your magic and regenerate the client using the latest spec.

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