Comments (4)
Thanks for the info! Well that explains a lot. That's rough. Wishing you lots of perseverance then
from elasticsearch-net.
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.
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.
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)
- Elastic.Transport.UnexpectedTransportException when using GetMappingAsync and dynamic_templates HOT 5
- Global Aggregations in elastic search client version 8.13 HOT 6
- When using Bool Filter to query, the relationship between Term and Range is not 'And', which is inconsistent with the native DSL query results HOT 2
- 8.15.6 - Bring back Aggregation LocalMetadata HOT 2
- 8.15.6 - Make public SortOptions.AdditionalPropertyName HOT 2
- 8.15.6 - Bring Back IProperty.Name HOT 2
- 8.15.6 - IPropertyWithClrOrigin replacements?
- 8.15.6 - ExtendedBounds -> ExtendedBoundsDate needs implicit convertors for anchored DateTime HOT 2
- 8.15.6 - General API Feedback while upgrading from NEST. HOT 2
- SearchResponse.Documents throws null reference exception on successful call
- Fluent API Documentation missing
- Feature request to add back || and &&. Or to allow for dynamic building and joining of queries HOT 3
- Feature request to publish JsonNetSerializer HOT 1
- 8.15.6 - Term/Terms Filtering feedback HOT 1
- 8.15.6 - TermQuery / TermsQuery inconsistencies and feedback HOT 6
- 8.15.6: TypeMappingDescriptor Dynamic Feedback HOT 3
- Fix implicit conversion for `Union`
- 8.15.6 - QueryDescriptor Operand/Operator (!, ||, &&) overloads HOT 1
- Consolidate usage of `FluentDescriptorDictionary` HOT 3
- 8.15.6 - Sorting Feedback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-net.