We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elastic.Clients.Elasticsearch version: 8.14.0
Elasticsearch version:8.12.0
.NET runtime version: .Net core 7.0
Operating system version: Windows 11
Description of the problem including expected versus actual behavior: In version 8.12 of the client there was a Field method that allowed setting the toplevel field in ther intervals query: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html
The code that compiled in version 8.12: queryDescriptor => queryDescriptor.Intervals(intervalsQueryDescriptor => intervalsQueryDescriptor .AllOf(intervalsAllOfDescriptor => intervalsAllOfDescriptor .Intervals(intervalsDescriptor => intervalsDescriptor .Match(intervalsMatchDescriptor => intervalsMatchDescriptor .Query($"phrase to match") .MaxGaps(0). Ordered(false)))) .Field(x => x.SearchText));
The Field method does not exist in version 8.14
Expected behavior There is a way to set the top level field.
The text was updated successfully, but these errors were encountered:
Hi @asal-hesehus, thanks for reporting. This seems to be a bug in the new code generator.
Sorry, something went wrong.
Field
IntervalsQuery
Fixed in 8.14.1.
Thanks for the fast fix.
Successfully merging a pull request may close this issue.
Elastic.Clients.Elasticsearch version: 8.14.0
Elasticsearch version:8.12.0
.NET runtime version: .Net core 7.0
Operating system version: Windows 11
Description of the problem including expected versus actual behavior:
In version 8.12 of the client there was a Field method that allowed setting the toplevel field in ther intervals query:
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-intervals-query.html
The code that compiled in version 8.12:
queryDescriptor => queryDescriptor.Intervals(intervalsQueryDescriptor => intervalsQueryDescriptor
.AllOf(intervalsAllOfDescriptor => intervalsAllOfDescriptor
.Intervals(intervalsDescriptor => intervalsDescriptor
.Match(intervalsMatchDescriptor => intervalsMatchDescriptor
.Query($"phrase to match")
.MaxGaps(0).
Ordered(false))))
.Field(x => x.SearchText));
The Field method does not exist in version 8.14
Expected behavior
There is a way to set the top level field.
The text was updated successfully, but these errors were encountered: