Git Product home page Git Product logo

Comments (11)

swallez avatar swallez commented on July 21, 2024

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.

sothawo avatar sothawo commented on July 21, 2024

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.

sothawo avatar sothawo commented on July 21, 2024

Is this available in a snapshot yet? I check 7.16.2-SNAPSHOT but it's not in that yet.

from elasticsearch-java.

sothawo avatar sothawo commented on July 21, 2024

Hi, when will this be available in a snapshot version? As of now, 7.17.0-SNAPSHOT does not contain it.

from elasticsearch-java.

swallez avatar swallez commented on July 21, 2024

Sorry for the late answer and resolution. This has been added in #71c2c17e25 and is available in snapshots.

from elasticsearch-java.

sothawo avatar sothawo commented on July 21, 2024

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.

swallez avatar swallez commented on July 21, 2024

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.

sothawo avatar sothawo commented on July 21, 2024

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.

swallez avatar swallez commented on July 21, 2024

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.

swallez avatar swallez commented on July 21, 2024

@sothawo a new snapshot is available that contains the wrapper query!

from elasticsearch-java.

sothawo avatar sothawo commented on July 21, 2024

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)

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.