Coder Social home page Coder Social logo

elaster's People

Contributors

alexbeletsky avatar ltworf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elaster's Issues

getting error while running

js-bson: Failed to load c++ bson extension, using pure JS version
/home/ec2-user/elaster/node_modules/mongojs/index.js:494
var p = Proxy.create({
TypeError: Proxy.create is not a function
at Function.connect (/home/ec2-user/elaster/node_modules/mongojs/index.js:494:17)
at module.exports (/home/ec2-user/elaster/source/db/index.js:8:15)
at Object. (/home/ec2-user/elaster/source/elaster.js:6:25)
at Module._compile (module.js:417:34)
at Object.Module._extensions..js (module.js:426:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)

Getting Maximum call stack size exceeded error

When I run elaster I get:

I:\Projeler\nodejs\elaster\node_modules\elasticsearch\src\lib\log.js:65
Log.prototype.listenerCount = function (event) {
^

RangeError: Maximum call stack size exceeded
at Log.listenerCount (I:\Projeler\nodejs\elaster\node_modules\elasticsearch\src\lib\log.js:65:40)
at Function.EventEmitter.listenerCount (events.js:399:20)
at Log.listenerCount (I:\Projeler\nodejs\elaster\node_modules\elasticsearch\src\lib\log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:399:20)
at Log.listenerCount (I:\Projeler\nodejs\elaster\node_modules\elasticsearch\src\lib\log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:399:20)
at Log.listenerCount (I:\Projeler\nodejs\elaster\node_modules\elasticsearch\src\lib\log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:399:20)
at Log.listenerCount (I:\Projeler\nodejs\elaster\node_modules\elasticsearch\src\lib\log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:399:20)

No living connections

Hi,

I have { [Error: No Living connections] message: 'No Living connections' } which is weird because I am sure Elastic search is running:

$ curl http://localhost:9200/

{
  "status" : 200,
  "name" : "Delilah",
  "cluster_name" : "elasticsearch_vikti",
  "version" : {
    "number" : "1.6.0",
    "build_hash" : "cdd3ac4dde4f69524ec0a14de3828cb95bbb86d0",
    "build_timestamp" : "2015-06-09T13:36:34Z",
    "build_snapshot" : false,
    "lucene_version" : "4.10.4"
  },
  "tagline" : "You Know, for Search"
}

node: v0.12.7
elasticsearch: 1.6.0
mongo: 3.0

Any idea on this ?

find 0 documentents to export

Ran elastic and it found 0 documents to export. There a millions of documents to export. How is it that it found none? Is there a config setting I could have possibly screwed up?

Error start

./elaster
var collections = config.collections.map(function (c)
My config
module.exports = {
mongo: {
connection: 'mongodb://192.168.1.208:27017/publicdb'
},

    elastic: {
            host: {
                    host: 'http://192.168.1.143:9200'
            },

            requestTimeout: 5000
    },

    collections:  {
            name: 'org_name',
            index: 'org_name',
            type: 'collection',
            fields: ['_id','fullName','_etag'],
            mappings: {
                    'org_name': {
                            'properties': {
                                    'fullName': {
                                            'type': 'string'
                                    }
                            }
                    }
            }
    }

};

What am I doing wrong?
P.S. I`m speak rus)

Can I do parent-child mappings using elaster?

@alexbeletsky
If I have a field in a mongodb collection, can I feed this as a parent_id, as per the bulk API, and push the rest of the fields to a documents in elasticsearch using elaster? If so, would you be able to give me the right form of the configuration?
I see you mention highland.js in one of your other issues. If this might be an alternative tool to getting this done, would you be able to point me to a working example?
Many thanks for your input.

RangeError: Maximum call stack size exceeded

Hey im having this error
RangeError: Maximum call stack size exceeded
at Log.listenerCount (/home/ec2-user/projects/elaster/node_modules/elasticsearch/src/lib/log.js:65:40)
at Function.EventEmitter.listenerCount (events.js:447:20)
at Log.listenerCount (/home/ec2-user/projects/elaster/node_modules/elasticsearch/src/lib/log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:447:20)
at Log.listenerCount (/home/ec2-user/projects/elaster/node_modules/elasticsearch/src/lib/log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:447:20)
at Log.listenerCount (/home/ec2-user/projects/elaster/node_modules/elasticsearch/src/lib/log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:447:20)
at Log.listenerCount (/home/ec2-user/projects/elaster/node_modules/elasticsearch/src/lib/log.js:68:25)
at Function.EventEmitter.listenerCount (events.js:447:20)

Does elaster use bulk indexing?

Does elaster use bulk indexing? or indexes each document separately?

Also will it be possible to ignore errors? Because of some rogue documents with wrong mappings the entire export gets cancelled.

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.