{"action":"created","issue":{"url":"https://api.github.com/repos/couchbaselabs/elasticsearch-transport-couchbase/issues/47","labels_url":"https://api.github.com/repos/couchbaselabs/elasticsearch-transport-couchbase/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/elasticsearch-transport-couchbase/issues/47/comments","events_url":"https://api.github.com/repos/couchbaselabs/elasticsearch-transport-couchbase/issues/47/events","html_url":"https://github.com/couchbaselabs/elasticsearch-transport-couchbase/issues/47","id":47090950,"number":47,"title":"couchbaseCheckpoint added to all index mappings in Elasticsearch cluster","user":{"login":"Elachance","id":3589443,"avatar_url":"https://avatars.githubusercontent.com/u/3589443?v=3","gravatar_id":"","url":"https://api.github.com/users/Elachance","html_url":"https://github.com/Elachance","followers_url":"https://api.github.com/users/Elachance/followers","following_url":"https://api.github.com/users/Elachance/following{/other_user}","gists_url":"https://api.github.com/users/Elachance/gists{/gist_id}","starred_url":"https://api.github.com/users/Elachance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elachance/subscriptions","organizations_url":"https://api.github.com/users/Elachance/orgs","repos_url":"https://api.github.com/users/Elachance/repos","events_url":"https://api.github.com/users/Elachance/events{/privacy}","received_events_url":"https://api.github.com/users/Elachance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-10-28T22:42:03Z","updated_at":"2015-01-21T18:25:03Z","closed_at":null,"body":"I'm working with an Elasticsearch cluster that handles data from many different sources and am hoping to get it processing Couchbase documents as well. However, once transport-couchbase has been installed on the ES cluster, all indexes in the cluster have this section added to their mappings:\r\n\r\n```json\r\n\"couchbaseCheckpoint\" : {\r\n  \"_source\" : {\r\n    \"includes\" : [\r\n      \"meta.*\",\r\n      \"doc.*\"\r\n    ]\r\n  },\r\n  \"dynamic_templates\" : [\r\n    {\r\n      \"store_no_index\" : {\r\n        \"mapping\" : {\r\n          \"index\" : \"no\",\r\n          \"include_in_all\" : false,\r\n          \"store\" : \"no\"\r\n        },\r\n        \"match\" : \"*\"\r\n      }\r\n    }\r\n  ],\r\n  \"properties\" : {\r\n    \"meta\" : {\r\n      \"include_in_all\" : false,\r\n      \"type\" : \"object\"\r\n    }\r\n  }\r\n}\r\n```\r\nI don't know if this is normal or expected behavior, but it's unwanted. I've changed the first line of the template from:\r\n\r\n```json\r\n\"template\" : \"*\",\r\n```\r\n\r\nto\r\n\r\n```json\r\n\"template\" : \"couch-*\",\r\n```\r\n \r\nin an attempt to apply the couchbaseCheckpoint part of the mapping only to the index I intend to use for Couchbase, but it has not stopped this from happening.\r\n\r\nWhat is adding this to all the indexes and what can I do to prevent it from continuing?"},"comment":{"url":"https://api.github.com/repos/couchbaselabs/elasticsearch-transport-couchbase/issues/comments/70892354","html_url":"https://github.com/couchbaselabs/elasticsearch-transport-couchbase/issues/47#issuecomment-70892354","issue_url":"https://api.github.com/repos/couchbaselabs/elasticsearch-transport-couchbase/issues/47","id":70892354,"user":{"login":"g-eorge","id":440006,"avatar_url":"https://avatars.githubusercontent.com/u/440006?v=3","gravatar_id":"","url":"https://api.github.com/users/g-eorge","html_url":"https://github.com/g-eorge","followers_url":"https://api.github.com/users/g-eorge/followers","following_url":"https://api.github.com/users/g-eorge/following{/other_user}","gists_url":"https://api.github.com/users/g-eorge/gists{/gist_id}","starred_url":"https://api.github.com/users/g-eorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-eorge/subscriptions","organizations_url":"https://api.github.com/users/g-eorge/orgs","repos_url":"https://api.github.com/users/g-eorge/repos","events_url":"https://api.github.com/users/g-eorge/events{/privacy}","received_events_url":"https://api.github.com/users/g-eorge/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T18:25:03Z","updated_at":"2015-01-21T18:25:03Z","body":"Sure.\r\n\r\nAfter step 4 I have\r\n\r\n`{}`\r\n\r\nAfter step 5 I have\r\n\r\n`{}`\r\n\r\nAfter step 6 I have\r\n\r\n```\r\n{\r\n   \"test\": {\r\n      \"mappings\": {\r\n         \"couchbaseCheckpoint\": {\r\n            \"properties\": {\r\n               \"doc\": {\r\n                  \"properties\": {\r\n                     \"uuid\": {\r\n                        \"type\": \"string\"\r\n                     }\r\n                  }\r\n               }\r\n            }\r\n         }\r\n      }\r\n   }\r\n}\r\n```\r\n\r\nI have used the default template with \"template\": \"cb*\" and my couchbase index is called \"cb_test\"."}}