{"action":"created","issue":{"url":"https://api.github.com/repos/basho/yokozuna/issues/423","labels_url":"https://api.github.com/repos/basho/yokozuna/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/basho/yokozuna/issues/423/comments","events_url":"https://api.github.com/repos/basho/yokozuna/issues/423/events","html_url":"https://github.com/basho/yokozuna/issues/423","id":44677002,"number":423,"title":"datatypes(map) siblings creates separate entries in solr.","user":{"login":"mogadanez","id":790307,"avatar_url":"https://avatars.githubusercontent.com/u/790307?v=3","gravatar_id":"","url":"https://api.github.com/users/mogadanez","html_url":"https://github.com/mogadanez","followers_url":"https://api.github.com/users/mogadanez/followers","following_url":"https://api.github.com/users/mogadanez/following{/other_user}","gists_url":"https://api.github.com/users/mogadanez/gists{/gist_id}","starred_url":"https://api.github.com/users/mogadanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogadanez/subscriptions","organizations_url":"https://api.github.com/users/mogadanez/orgs","repos_url":"https://api.github.com/users/mogadanez/repos","events_url":"https://api.github.com/users/mogadanez/events{/privacy}","received_events_url":"https://api.github.com/users/mogadanez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-02T11:55:59Z","updated_at":"2015-04-14T20:34:49Z","closed_at":null,"body":"I have map bucket with some data( with neseted maps )\r\naprox structure( don't know does it matter or not ):\r\n```\r\n{\r\n\t\"update\": {\r\n\t\t\"some_register\": \"value\",\r\n\t\t\"some_flag\": \"disable\",\r\n\t\t\"nested_map\": {\r\n\t\t\t\"update\": {\r\n\t\t\t\t\"nested1_map\": {\r\n\t\t\t\t\t\"update\": {\r\n\t\t                               \"some_register\": \"value\",\r\n\t\t                                \"some_flag\": \"disable\",\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t\"nested1_map\": {\r\n\t\t\t\t\t\"update\": {\r\n\t\t                               \"some_register\": \"value\",\r\n\t\t                                \"some_flag\": \"disable\",\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"some_counter\": 13,\r\n\t}\r\n}\r\n```\r\n\r\nUpdates works fine. Even simultaneous\r\nBut Sometimes  I need recreate entire value, so I Delete it using \r\n```\r\ncurl -XDELETE http://host:8098/types/maps/buckets/mybucket/keys/some\r\n```\r\nAfter that sometimes  siblings  with tthumbstone appears.\r\n\r\n```\r\n--XZ98hy0TJbr4sVETS44XBEJf7Yt\r\nLast-Modified: Thu, 02 Oct 2014 11:29:15 GMT\r\n\r\nE\r\n��A�6-.... some binary\r\n--XZ98hy0TJbr4sVETS44XBEJf7Yt\r\nLast-Modified: Thu, 02 Oct 2014 11:29:03 GMT\r\nX-Riak-Deleted: true\r\n\r\n\r\n--XZ98hy0TJbr4sVETS44XBEJf7Yt--\r\n```\r\n\r\n\r\nFurther updates to datatype using http://host:8098/types/maps/buckets/mybucket/datatypes/some NOT create new sibling. It is replace previous one, so i always have max 2 siblings, one  with record and one thumb-stone.\r\n\r\nProblem:\r\n\r\n* I have also search index on this bucket.\r\n _each_  further  updates to this datatype( before resolution), creates new records in solr because \r\n_yz_id includes sibling id:\r\n1*maps*mybucket*some*34*46hGXxyhuW3yn3L8bRHIml\r\nSo, in riak I have two active siblings, in solr documents multiplied. \r\n \r\nGood news that when I delete record again all entries in solr deleted too.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/basho/yokozuna/issues/comments/93051391","html_url":"https://github.com/basho/yokozuna/issues/423#issuecomment-93051391","issue_url":"https://api.github.com/repos/basho/yokozuna/issues/423","id":93051391,"user":{"login":"DSomogyi","id":9661207,"avatar_url":"https://avatars.githubusercontent.com/u/9661207?v=3","gravatar_id":"","url":"https://api.github.com/users/DSomogyi","html_url":"https://github.com/DSomogyi","followers_url":"https://api.github.com/users/DSomogyi/followers","following_url":"https://api.github.com/users/DSomogyi/following{/other_user}","gists_url":"https://api.github.com/users/DSomogyi/gists{/gist_id}","starred_url":"https://api.github.com/users/DSomogyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSomogyi/subscriptions","organizations_url":"https://api.github.com/users/DSomogyi/orgs","repos_url":"https://api.github.com/users/DSomogyi/repos","events_url":"https://api.github.com/users/DSomogyi/events{/privacy}","received_events_url":"https://api.github.com/users/DSomogyi/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T20:34:49Z","updated_at":"2015-04-14T20:34:49Z","body":"Comment for Jira."}}