ecs-dotnet icon indicating copy to clipboard operation
ecs-dotnet copied to clipboard

[BUG] RangeQuery API broken after upgrade from 8.12.1 to 8.13.1

Open moonphone opened this issue 1 year ago • 0 comments

Description of the problem, including expected versus actual behavior:

NUGET dotnet add package Elastic.Clients.Elasticsearch --version 8.12.1

before in use of 8.12.1 ✅: queryDescriptor.Range(b => b.DateRange(b => b.Field(new Field(property)).Lt(dateValue)));

after upgarding to 8.13.1 ❌: queryDescriptor.Range(new RangeQuery(new DateRangeQuery(new Field(property)).Lt

  1. API has breaking changes after minor update ?!?
  2. How to evaluate Range Property (e.g. Lt) from now on?

Steps to reproduce:

upgrade from 8.12.1 to 8.13.1

moonphone avatar Apr 04 '24 12:04 moonphone