Closed patrickml closed 8 years ago
The config file is a file created and used by the mongo connector to keep the status of the synchronisation so you need to specify one file per instance of the mongo-connector
The collection is specified in the command line with the parameter '-n' in your example, It's the branches collection in the flex db.
So do I have to run multiple instances of Mongo connector or can I connect all my collections using a config file I guess that's what I'm confused about. On Tue, Dec 1, 2015 at 3:33 AM Xavier Grand notifications@github.com wrote:
The config file is a file created and used by the mongo connector to keep the status of the synchronisation so you need to specify one file per instance of the mongo-connector
The collection is specified in the command line with the parameter '-n' in your example, It's the branches collection in the flex db.
— Reply to this email directly or view it on GitHub https://github.com/algolia/mongo-connector/issues/18#issuecomment-160893567 .
You have to run one instance per collection.
Im unsure about exactly what the docs are saying here
Is there any way you can provide an example of the config file? Mine looks like this
It doesnt say anything about the collections im using or the indexes
This is the command im using to run