Comments (5)
@giannik There is a very short example in this migration guide document: https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/migration-guide.html#_workarounds_for_missing_features
Deserializing back to the CLR response types is more complex and I currently don't have any read-to-use documentation for that.
from elasticsearch-net.
Hi @giannik, You are right, KNN queries are not completeley implemented yet. I can not give you an exact ETA for that, as it currently does not have very high priority.
Besides that, please note, that deserialization of requests is not officially supported (and might not work with some requests). The client usually only serializes requests and deserializes responses. Roundtripping is at best partially implemented 🙂
from elasticsearch-net.
@flobernd thanks for the notice.
do you have a recomended generic approach to run queries in the dotnet client based on the json query body given as a string ?
for example easily identify what type of query it is (that derives from base class searchQuery ) from the json string and generically be able to execute the query in dotnet ?
from elasticsearch-net.
@giannik This scenario is not directly supported by the client. If you have query payloads in JSON format, I would probably use the low level transport client to send raw requests (you could probably still deserialize the response to the corresponding CLR type).
There is a chance that the KNN query deserialization might work after some code generation improvements I'm currently working on (earliest release in the end of Q1), but I can't promise anything.
from elasticsearch-net.
thank you @flobernd .
Can you share any links (docs , examples ) on how to use the low level client in latest dotnet client ?
Yiannis
from elasticsearch-net.
Related Issues (20)
- Unable to use descriptors to set Fields in MultiMatchQueryDescriptor query HOT 2
- Mystic MissingMethodException HOT 1
- A call to client.Cluster.StatsAsync fails with JSON serialization error HOT 7
- Provide a way to convert QueryDescriptor to Query (Elastic.Clients.Elasticsearch, 8.11.0) HOT 2
- Question: how to map the properties for a nested type - v8 HOT 1
- Add dotnet 6 TFM to reduce dependencies HOT 1
- Deprecation of old nugets and transfer of downloads HOT 1
- NEST does not work with .Net 8 HOT 2
- Add FilterPath to SearchRequestDescriptor HOT 1
- Decay functions score is missing on version 8 HOT 1
- Support AOT compilation HOT 9
- Can't find the Indices "ExistsAsync" method to check if index exists? HOT 1
- No documentation on how to Sort when not using the Fluent Api HOT 4
- Indicies.Get call fails to deserialize ICollections properly in the IndexRequest HOT 3
- Cannot sort with nullable long - "No mapping found"
- "[query_string] query does not support [fields]" error HOT 8
- RawJsonString encodes script parameter into a string HOT 1
- BulkAsync serializes document with all fields as empty array HOT 1
- [Request feedback] Looking for feedback about the UX experience HOT 5
- Aggregations Filters :The JSON value could not be converted to System.Collections.Generic.IReadOnlyCollection`1[Elastic.Clients.Elasticsearch.Aggregations.FiltersBucket]. Path: $.buckets |
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.