Coder Social home page Coder Social logo

Comments (5)

nstott avatar nstott commented on September 14, 2024 1

There is functionality in place right now to do what you need (if i'm understanding you :)
all that would be needed I imagine is something like this

a config file that looks something similar to:

nodes:
  mongo:
    type: mongo
    uri: mongodb://localhost/admin
  es:
    type: elasticsearch
    uri: https://user:[email protected]:10291/thisgetsignored

and then run transporter on the command line:
transporter eval --config config.yaml 'Source({name:"mongo", namespace:"B.A"}).save({name:"es", namespace: "C.D"})'

from transporter.

nstott avatar nstott commented on September 14, 2024

Hi,
I'm not entirely sure what you mean with this
If you are asking whether it's possible to take entire documents from different mongo sources and index them into elasticsearch, then that is definitely possible with transporter now, it's just a matter of sepcifying multiple sources in your application.js

however if you're looking at merging documents from different sources into a single document and then indexing that in elasticsearch, that's something that is definitely on the roadmap. Internally we're calling these 'joins', and are looking for good semantics to manage these sorts of operations. When we release this feature, we'll likely be able to take any document and merge it with data from any other source, not necessarily a source from the same database

from transporter.

kurttheviking avatar kurttheviking commented on September 14, 2024

@nstott thanks for the quick reply; i appreciate it!

In short, yes...it's useful to think of it as a join. I think my question can be reduced to: Is it possible now, or soon in the future, to simply say: "Sync only documents from collection A in database B into Index C of Elasticsearch database D" (The application code can handle the necessary "joining".)

from transporter.

kurttheviking avatar kurttheviking commented on September 14, 2024

perfect, that's what i was looking for. thank you!

from transporter.

nstott avatar nstott commented on September 14, 2024

let me know how it goes!

from transporter.

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.