Skip to content

Error start #7

Description

@FaionWeb

./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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions