Giter VIP home page Giter VIP logo

Comments (4)

feherbbj avatar feherbbj commented on June 12, 2024 1

Thanks for the info! Well that explains a lot. That's rough. Wishing you lots of perseverance then

from elasticsearch-net.

flobernd avatar flobernd commented on June 12, 2024

Hi @feherbbj,

this is a change that was introduced with the new code generator. It was required to be able to generically support similar constructs in our specification.

The container class Query still supports the use of the && and || operators.

The change is documented in the release notes of 8.13.0:
https://github.com/elastic/elasticsearch-net/releases/tag/8.13.0

from elasticsearch-net.

feherbbj avatar feherbbj commented on June 12, 2024

Hi @flobernd ,

Thank you for the answer. I did not notice this breaking change, but even with your response I don't really understands the reason behind it.
It really seems like with every version, there is a step back for the C# API, since the latest 7.16 NEST nuget package. Loosing the mix usage of QueryDescriptor and Query objects, loosing built-in formatters (eg Stack object is deserialized inversed order compare to the original input) and this change could also trigger a lot of extra code. I know this is the situation now and users need to accept it, but the old NEST API was more comfortable to use

from elasticsearch-net.

flobernd avatar flobernd commented on June 12, 2024

Hi @feherbbj, thanks for the feedback. Maybe this blog post gives you some more insights about the reasons: https://www.elastic.co/search-labs/blog/net-client-evolution

It's basically just one person (me) maintaining the .NET client these days and we had to reduce scope to keep up with the workload. Now that version 8.13.x is released and finally most of the ES server APIs are supported, I can focus on bringing back some of the convenience features (but note, that bringing back NEST features is case by case decision and not everything will make it into the new client).

from elasticsearch-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.