Comments (11)
It was indeed missing in the API specification and has been added in elastic/elasticsearch-specification#1132
Out of curiosity, what are your use cases for this query type?
from elasticsearch-java.
For Spring Data Elasticsearch this is pretty important. It's the way a user can add custom queries when using Spring Data repositories. The user can add a @Query()
annotation to a repository method (https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/#elasticsearch.query-methods.at-query).
When such a method is called we do a parameter replacement in the query argument of the annotation and then send this as the query part of a search request.
from elasticsearch-java.
Is this available in a snapshot yet? I check 7.16.2-SNAPSHOT but it's not in that yet.
from elasticsearch-java.
Hi, when will this be available in a snapshot version? As of now, 7.17.0-SNAPSHOT does not contain it.
from elasticsearch-java.
Sorry for the late answer and resolution. This has been added in #71c2c17e25 and is available in snapshots.
from elasticsearch-java.
sorry to ask again, in which snapshot version? Didn't find it in 7.16.4-SNAPSHOT and not in 7.17.0-SNAPSHOT
from elasticsearch-java.
Sorry, my bad, I pushed these changes today, so they will be available tomorrow morning (snapshots are usually built around 5am UTC).
You can see the builds at https://artifacts-api.elastic.co/v1/versions/7.17-SNAPSHOT/ - the most recent snapshot is described at versions.builds[0].projects.elasticsearch-java
from elasticsearch-java.
Somehow I cannot seem to get a snapshot version from https://snapshots.elastic.co/maven/ that contains this fix. I have cleared my ~/.m2/repository directory for the client and re-downloaded 7.17-SNAPSHOT, but these changes are not in. The manifest from the jar shows:
Manifest-Version: 1.0
Implementation-Title: Elasticsearch Java client
Implementation-Vendor: Elastic
Implementation-URL: https://github.com/elastic/elasticsearch-java/
Build-Date: 2022-01-23T00:16:56.465215031Z
X-Git-Revision: f09b12c03fdb2b6f2e8378a26dc22a01f879c54b
X-Git-Commit-Time: 2022-01-05T17:50:32Z
I managed to built my own version by forking/updating the 7.17 branch, setting the correct value in config/version.txt and running
gradle build publishToMavenLocal
from elasticsearch-java.
The snapshot has not been published today, as can be seen on https://artifacts-api.elastic.co/v1/versions/7.17-SNAPSHOT/
Snapshots are the result of building the entire suite of Elastic products once a day and publish them to the snapshot repository all at once, or none at all if one of the individual product build fails.
Build failures don't happen often, but when they do this means no snapshot is published that day. And of course fixing it is top priority for the corresponding team. Hopefully tomorrow we well have a fresh snapshot!
from elasticsearch-java.
@sothawo a new snapshot is available that contains the wrapper
query!
from elasticsearch-java.
got it in 7.17.0-SNAPSHOT, but not in 7.16.4-SNAPSHOT, but that's ok for me
from elasticsearch-java.
Related Issues (20)
- ElasticSearch 8.12.1 with HighLevelRestClient/JavaClient combination not working HOT 4
- indices.get() throws transport exception when fetching indices that have a dense_vector mapping with no dims HOT 1
- How to create parent-child documents according to Java API? HOT 3
- The DateHistogramAggregation fails when adding the field 'name' HOT 2
- {"error":"Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported","status":406} HOT 1
- sourcesIncludes and sourcesExcludes is missing on SearchRequest HOT 2
- Required parameter K in KnnQuery HOT 6
- Inconsistent type for IndexTemplate priority HOT 2
- UpdateOperation didn't serialize the script into the request body. HOT 2
- Allow custom SpanQuery HOT 3
- I can't provide a set of synonyms when creating the analyzer HOT 7
- On the issue of termvectors queries
- Regarding termvectors query related issues HOT 1
- PutSynonymResponse: Failed to decode response HOT 2
- TermsBucketBase: doc_count_error should be doc_count_error_upper_bound HOT 1
- Read By Id: Failed to decode response
- Assign a tokenizer to a field when creating an index. 8.6.0 HOT 1
- co.elastic.clients.elasticsearch.ElasticsearchClient.delete responce nullpointerexception HOT 2
- Creating aggregation from json via supplied reader HOT 1
- Building a zero result response declares missing properties as mandatory which should be optional HOT 1
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-java.