{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/855","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-android","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/855/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/855/events","html_url":"https://github.com/couchbase/couchbase-lite-android/issues/855","id":151921917,"number":855,"title":"Duplicate docs in Android view","user":{"login":"npomfret","id":5489469,"avatar_url":"https://avatars.githubusercontent.com/u/5489469?v=3","gravatar_id":"","url":"https://api.github.com/users/npomfret","html_url":"https://github.com/npomfret","followers_url":"https://api.github.com/users/npomfret/followers","following_url":"https://api.github.com/users/npomfret/following{/other_user}","gists_url":"https://api.github.com/users/npomfret/gists{/gist_id}","starred_url":"https://api.github.com/users/npomfret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npomfret/subscriptions","organizations_url":"https://api.github.com/users/npomfret/orgs","repos_url":"https://api.github.com/users/npomfret/repos","events_url":"https://api.github.com/users/npomfret/events{/privacy}","received_events_url":"https://api.github.com/users/npomfret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-29T17:02:37Z","updated_at":"2016-04-29T17:02:37Z","closed_at":null,"body":"I have a basic view:\r\n\r\n    function(doc) {\r\n        if (doc.type === 'public-profile') {\r\n          emit(doc.owner, null);\r\n        }\r\n      }\r\n\r\nAnd occasionally I get multiple entires in it for a single document id.  If I query the view with _include_docs=true_ I can see that the duplicate entires have different __rev_ values.  It doesn't happen on IOS, and forcing my client to re-index by replacing the design doc makes the duplicates go away."}}