Giter VIP home page Giter VIP logo

Comments (2)

CasperWSchmidt avatar CasperWSchmidt commented on June 1, 2024 8

Migrating from NEST to the new driver/client I have the same issues all over the place. In NEST query descriptors also implemented the corresponding query interface (e.g. BoolQueryDescriptor<T> : IBoolQuery).

In general, migrating from NEST is truly painful. There's no migration guide, no documentation/API reference for the .Net client, and close-to-no documentation on mouse-over in the IDE. You have to start guessing the new class names and go from there (usually decompiling the code and looking deeply into the various classes).

from elasticsearch-net.

flobernd avatar flobernd commented on June 1, 2024

Hi @petr-horny-bsshop,

  1. A conversion or inheritance structure like in NEST (where the descriptors are derived from the request/data classes or implement the same interface) won't get implemented in version 8.x of the client. I will re-evaluate the current design for the 9.x release.
  2. Currently, unions are missing support for descriptors. This is the root cause that prevents an overload from being generated at this place (and many others). Implementing descriptor support for unions is on my todo list 🙂

@CasperWSchmidt

This fundamental design decision was taken before I inherited this project and for now I won't change this back. As stated above, I'll re-evaluate this design together with the former maintainers and try to improve usability for version 9.x.

There's no migration guide

https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/migration-guide.html

no documentation/API reference for the .Net client

This is on my very short term todo list. You can expect an auto-generated API reference to be available soon.

close-to-no documentation on mouse-over in the IDE

This should have changed with the new code generator and version 8.13.x.

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.