Giter VIP home page Giter VIP logo

Comments (3)

michaelklishin avatar michaelklishin commented on June 21, 2024

@r0man can you link to the relevant ES documentation page? We can modify the existing API but I'd like to understand the feature better.

from elastisch.

r0man avatar r0man commented on June 21, 2024

hey @michaelklishin,

When you create a document with Elastisch you can specify
the :parent of a document. This option is not available in the
upsert fn, which can also create a document. We used to do this
with HTTP PUT requests, but switching over to Elastisch now.

I think the docs you want is this one:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html

In the Java API you can do this with the .parent method of the UpdateReqeust

https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/action/update/UpdateRequest.java#L176

Roman

from elastisch.

michaelklishin avatar michaelklishin commented on June 21, 2024

@r0man please try master.

from elastisch.

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.