anchor.diff:  <8>  the name of the host machine where the `mongod` is running.
   <9>  the port where the `mongod` instance is listening.
   <10>  data will be transferred based on a json mongodb query (*Optional*)
  -<11> as of v1.3.5, you can access an auth mongodb by giving auth configuration. (*Optional*)
  -<12> the name of the host machine where the `elastic node` is running.
  -<13> the *transport* port where the transport module will communicate with the running elastic node. E.g. *9300* for node-to-node communication.
  -<14> a custom formatter for Date fields rather than the default DateCodec (*Optional*)
  -<15> serialize long value as a string for backwards compatibility with other tools (*Optional*)
  -<16> connect to a spesific elastic cluster (*Optional*)
  -<17> as of v1.3.9, you can access an auth elastic search by giving auth configuration. (*Optional*)
  +<11> with 1.4.1, you can manipulate documents that will be migrated from mongo to es based on the https://docs.mongodb.com/manual/reference/operator/aggregation/project/[`$project`] operator (*Optional*)
  +<12> as of v1.3.5, you can access an auth mongodb by giving auth configuration. (*Optional*)
  +<13> the name of the host machine where the `elastic node` is running.
  +<14> the *transport* port where the transport module will communicate with the running elastic node. E.g. *9300* for node-to-node communication.
  +<15> a custom formatter for Date fields rather than the default DateCodec (*Optional*)
  +<16> serialize long value as a string for backwards compatibility with other tools (*Optional*)
  +<17> connect to a spesific elastic cluster (*Optional*)
  +<18> as of v1.3.9, you can access an auth elastic search by giving auth configuration. (*Optional*)
   
   ---
   
  -Alternatively, you can use a JSON file.
  -
  -.this is the same JSON schema of the yaml file above:
  +Alternatively, a JSON file can be specified as a mongolastic configuration file including the same YAML file structure above.
  +
   [source,json]
   ----
   {
   	"misc": {
   		"dindex": {
  -			"name": "db-index-name",
  -			"as": "different-db-index-name"
  +			"name": "twitter",
  +			"as": "media"
   		},
   		"ctype": {
  -			"name": "collection-type-name",
  -			"as": "different-coll-type-name"
  +			"name": "tweets",
  +			"as": "posts"
   		},
  -		"direction": "em | me",
  -		"batch": 1234,
  -		"dropDataset": bool
  +		"direction": "me",
  +		"batch": 400,
  +		"dropDataset": true
   	},
   	"mongo": {
   		"host": "127.0.0.1",
   		"port": 27017,
  -		"query": "{}",
  +		"query": "{ lang: 'en' }"
  +		"project": "{ user:1, name:'$user.name', location: { $substr: [ '$user.location', 10, 15 ] }}",
   		"auth": {
  -			"user": "user-name",
  -			"pwd": "password",
  -			"source": "db-name",
  -			"mechanism": "plain | scram-sha-1 | x509 | gssapi | cr"
  +			"user": "joe",
  +			"pwd": "1234",
  +			"source": "twitter",
  +			"mechanism": "scram-sha-1"
   		}
   	},
   	"elastic": {
   		"host": "127.0.0.1",
   		"port": 9300,
  -		"dateFormat": "<format>",
  -		"longToString": bool,
  -		"clusterName": "cluster-name",
  +		"dateFormat": "yyyy-MM-dd",
  +		"longToString": true,
   		"auth": {
  -			"user": "user-name",
  -			"pwd": "password"
  +			"user": "joe",
  +			"pwd": "4321"
   		}
   	}
   }
   ----
   
  -== Example
  -
  -The following files have the same confguration details:
  +== Example #1
  +
  +The following files have the same configuration details:
   
   .yaml file
   [source,yaml]
  
positive.code:     host: <ip-address>      <8>
      port: <number>          <9>
      query: "mongo-query"    <10>
      auth:                   <11>
          user: <string>
          pwd: "password"
          source: <db-name>
          mechanism: ( plain | scram-sha-1 | x509 | gssapi | cr )
  elastic:
      host: <ip-address>     <12>
      port: <number>         <13>
      dateFormat: "<format>" <14>
      longToString: <bool>   <15>
      clusterName: <string>  <16>
      auth:                  <17>
          user: <string>
          pwd: "password"
  ----
  
negative.code: = Mongolastic
  :version: v1.4.1
  
  image:https://travis-ci.org/ozlerhakan/mongolastic.svg?branch=master["Build Status", link="https://travis-ci.org/ozlerhakan/mongolastic"]
  image:https://api.codacy.com/project/badge/Grade/8d768c2fc37246019115e4d090a33b98["Codacy code quality", link="https://www.codacy.com/app/ozlerhakan/mongolastic?utm_source=github.com&utm_medium=referral&utm_content=ozlerhakan/mongolastic&utm_campaign=Badge_Grade"]
  