{"id":1823,"date":"2014-12-16T17:43:14","date_gmt":"2014-12-16T17:43:14","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=1823"},"modified":"2023-06-28T01:25:34","modified_gmt":"2023-06-28T08:25:34","slug":"want-get-rid-documents-duplicate-content","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/want-get-rid-documents-duplicate-content\/","title":{"rendered":"Deseja se livrar de documentos com conte\u00fado duplicado?"},"content":{"rendered":"<div style=\"background-color: transparent;line-height: normal\">\n<p dir=\"ltr\" style=\"font-family: Times;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/duplicate-content.jpg\" style=\"width: 196px;height: 196px\" \/><\/p>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">N\u00e3o importa se voc\u00ea est\u00e1 combinando dados de duas fontes de dados diferentes, se tem v\u00e1rias compras do mesmo cliente ou se acabou de inserir os mesmos dados em um formul\u00e1rio da Web duas vezes, parece que todos enfrentam o problema de dados duplicados em um momento ou outro. <\/span><\/b><\/p>\n<p><\/p>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Nesta postagem do blog, veremos como usar o <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/docs\/couchbase-manual-2.0\/couchbase-views.html\/\">visualiza\u00e7\u00f5es<\/a> no Couchbase Server 2.0 para encontrar campos correspondentes entre documentos e reter os documentos n\u00e3o duplicados. Para fins deste exemplo, suponha que cada documento tenha tr\u00eas campos comuns especificados pelo usu\u00e1rio - <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">primeiro_nome<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">, <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">sobrenome<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">, <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">c\u00f3digo postal<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">. Usando o <\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;vertical-align: baseline\"><font class=\"Apple-style-span\" color=\"#1155cc\"><u>cliente rubi<\/u><\/font><\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"> para o Couchbase Server e o <\/span><a href=\"https:\/\/rubygems.org\/gems\/faker\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">falsificador<\/span><\/a><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"> ruby gem, voc\u00ea pode criar um simples <\/span><a href=\"https:\/\/gist.github.com\/859df6c1db21a9bb561b#file_generate.rb\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">gerador de dados<\/span><\/a><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"> para carregar alguns dados duplicados de amostra no Couchbase. Para usar o Ruby como linguagem de programa\u00e7\u00e3o com o Couchbase, voc\u00ea deve baixar o Ruby SDK <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/pt\/develop\/ruby\/next\/\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: underline;vertical-align: baseline\">aqui<\/span><\/a><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">.<\/span><\/b><\/p>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\">\u00a0<\/p>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: bold;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Aqui est\u00e1 um exemplo de execu\u00e7\u00e3o:<\/span><\/b><\/p>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\">\u00a0<\/p>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\"><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">$ ruby .\/generate.rb -help<\/span><\/b><\/p>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\"><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Uso: generate.rb [op\u00e7\u00f5es]<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-h, -hostname HOSTNAME \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span>Nome do host ao qual se conectar (padr\u00e3o: 127.0.0.1:8091)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-u, -user USERNAME \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span>Nome de usu\u00e1rio para registro (padr\u00e3o: nenhum)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-p, -passwd SENHA \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span>Senha para registro (padr\u00e3o: nenhuma)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-b, -nome do banco \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span><span class=\"Apple-tab-span\"> <\/span>Nome do bucket ao qual se conectar (padr\u00e3o: padr\u00e3o)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-t, -total-records NUM \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span><span class=\"Apple-tab-span\"> <\/span>O n\u00famero total de registros a serem gerados (padr\u00e3o: 10000)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-d, -duplicate-rate NUM \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span><span class=\"Apple-tab-span\"> <\/span>Cada registro NUM-th ser\u00e1 duplicado (padr\u00e3o: 30)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-?, -help \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span><span class=\"Apple-tab-span\"> <\/span>Mostrar esta mensagem<\/span><br \/><br class=\"kix-line-break\" \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">$ ruby .\/generate.rb -t 1000 -d 5<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0\u00a0\u00a01000 \/ 1000<\/span><\/b><\/div>\n<p dir=\"ltr\" style=\"font-family: Times;font-size: medium;text-align: justify;margin-top: 0pt;margin-bottom: 0pt\">\u00a0<\/p>\n<div style=\"background-color: transparent;line-height: normal\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Cada documento no Couchbase tem uma chave especificada pelo usu\u00e1rio que pode ser acessada como <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">meta.id<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"> na fun\u00e7\u00e3o de mapa da visualiza\u00e7\u00e3o. Na Figura 1 abaixo, h\u00e1 v\u00e1rios documentos carregados no Couchbase Server usando o cliente gerador de dados acima.<\/span><\/b><\/div>\n<div style=\"background-color: transparent;line-height: normal\">\u00a0<\/div>\n<div style=\"background-color: transparent;line-height: normal\"><b style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/Screen%20Shot%202012-10-25%20at%203.07.04%20PM.png\" style=\"width: 800px;height: 582px\" \/><\/span><\/b><\/div>\n<\/div>\n<p><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 24px;font-family: Arial;background-color: transparent;font-weight: bold;font-style: normal;font-variant: normal;text-decoration: underline;vertical-align: baseline\">Etapa 1<\/span><\/b><\/p>\n<div style=\"background-color: transparent;line-height: normal\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-family: Times;font-size: medium;font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Escreva uma fun\u00e7\u00e3o de mapa personalizada que emita o ID do documento (<\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">meta.id<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">) de todos os documentos se um determinado padr\u00e3o duplicado corresponder (<\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">primeiro_nome<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">, <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">sobrenome<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">, <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">c\u00f3digo postal<\/span><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"> neste caso).<\/span><\/b><\/div>\n<div style=\"background-color: transparent;line-height: normal\">\u00a0<\/div>\n<div style=\"background-color: transparent;line-height: normal\">\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\">\n<p dir=\"ltr\" style=\"margin-left: 36pt;margin-top: 0pt;margin-bottom: 0pt\"><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">function (doc, meta) {<\/span><\/b><\/p>\n<p dir=\"ltr\" style=\"margin-left: 36pt;margin-top: 0pt;margin-bottom: 0pt\"><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0emit([doc.first_name + '-' + doc.last_name + '-' + doc.postal_code], meta.id);<\/span><\/b><\/p>\n<p><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">}<\/span><\/b><\/div>\n<p><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-family: Times;font-size: medium;font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">A fun\u00e7\u00e3o de mapa define quando dois documentos s\u00e3o duplicados.  De acordo com a fun\u00e7\u00e3o map definida acima, dois documentos s\u00e3o duplicados quando o nome, o sobrenome e o c\u00f3digo postal coincidem. Usamos '-' para evitar o aliasing dos dados quando concatenamos o nome, o sobrenome e o c\u00f3digo postal.<\/span><\/b><\/p>\n<\/div>\n<div style=\"background-color: transparent\">\n<h2 dir=\"ltr\" style=\"line-height: normal;font-family: Times;font-size: medium\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 24px;font-family: Arial;background-color: transparent;font-weight: bold;font-style: normal;font-variant: normal;text-decoration: underline;vertical-align: baseline\">Etapa 2<\/span><\/b><\/h2>\n<p dir=\"ltr\"><font class=\"Apple-style-span\" color=\"#000000\" face=\"Arial\">A fun\u00e7\u00e3o de redu\u00e7\u00e3o \u00e9 semelhante a - <\/font><\/p>\n<p dir=\"ltr\"><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">function (keys, values, rereduce) {<\/span><\/b><\/p>\n<div style=\"background-color: transparent;line-height: normal\"><b id=\"internal-source-marker_0.7940624845214188\" style=\"font-weight: normal\"><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0 se (rereduce) {<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0 var res = [];<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0 for (var i = 0; i &lt; values.length; i++){<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0\u00a0\u00a0 res = res.concat(values[i])<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0 }<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0 return res;<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0 } else {<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0\u00a0\u00a0 valores de retorno;<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00a0 }<\/span><br \/><span style=\"font-size: 13px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">}<\/span><\/b><\/div>\n<div style=\"background-color: transparent;line-height: normal\">\u00a0<\/div>\n<p><font class=\"Apple-style-span\" color=\"#000000\" face=\"Arial\">Ap\u00f3s o agrupamento, se houver mais de um valor meta.id, n\u00f3s os concatenamos para obter uma lista de meta.ids referentes a um documento duplicado.<\/font><\/p>\n<p style=\"line-height: normal;font-family: Times;font-size: medium\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/Screen%20Shot%202012-10-25%20at%203.07.13%20PM.png\" style=\"width: 800px;height: 582px\" \/><\/p>\n<p style=\"line-height: normal;font-family: Times;font-size: medium\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 24px;font-family: Arial;background-color: transparent;font-weight: bold;font-style: normal;font-variant: normal;text-decoration: underline;vertical-align: baseline\">Etapa 3<\/span><\/b><\/p>\n<div style=\"line-height: normal\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-family: Times;font-size: medium;font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">A parte principal do <\/span><a href=\"https:\/\/gist.github.com\/859df6c1db21a9bb561b#file_cleanup.rb\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: underline;vertical-align: baseline\">limpador de dados <\/span><\/a><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">\u00e9 escrito em Ruby. <\/span><\/b><\/div>\n<div style=\"line-height: normal\">\u00a0<\/div>\n<div style=\"line-height: normal\">\n<div style=\"background-color: transparent;line-height: normal\">\n<div class=\"geshifilter\">\n<div class=\"text geshifilter-text\" style=\"font-family:monospace\">\u00a0<\/div>\n<\/div>\n<div class=\"line\" id=\"LC1\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\"><span class=\"nb\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">exigir<\/span> <span class=\"s1\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">'couchbase'<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC2\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\">\u00a0<\/div>\n<div class=\"line\" id=\"LC3\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\"><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">conex\u00e3o<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">=<\/span> <span class=\"no\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">Couchbase<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">conectar<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">(<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">op\u00e7\u00f5es<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">)<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC4\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\"><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">ddoc<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">=<\/span> <span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">conex\u00e3o<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">documentos_de_design<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">[<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">op\u00e7\u00f5es<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">[<\/span><span class=\"ss\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">:design_document<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">]]<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC5\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\"><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">visualiza\u00e7\u00e3o<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">=<\/span> <span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">ddoc<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">enviar<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">(<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">op\u00e7\u00f5es<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">[<\/span><span class=\"ss\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">:view<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">]<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">)<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC6\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\"><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">conex\u00e3o<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">executar<\/span> <span class=\"k\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">fazer<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC7\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0<span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">visualiza\u00e7\u00e3o<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">cada<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">(<\/span><span class=\"ss\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">:group<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">=&gt;<\/span> <span class=\"kp\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">verdadeiro<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">)<\/span> <span class=\"k\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">fazer<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">|<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">doc<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">|<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC8\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0<span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">dup_num<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">=<\/span> <span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">doc<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">valor<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">tamanho<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC9\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0<span class=\"k\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">se<\/span> <span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">dup_num<\/span> <span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">&gt;<\/span> <span class=\"mi\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">1<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC10\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"nb\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">coloca<\/span> <span class=\"s2\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">\"left doc <\/span><span class=\"si\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">#{<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">doc<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">valor<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">[<\/span><span class=\"mi\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">0<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">]<\/span><span class=\"si\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">}<\/span><span class=\"s2\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">, &#8220;<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC11\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"c1\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-style: italic\"># excluir documentos do pen\u00faltimo ao \u00faltimo<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC12\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">conex\u00e3o<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">excluir<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">(<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">doc<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">valor<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">[<\/span><span class=\"mi\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">1<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">.<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">.<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">&#8211;<\/span><span class=\"mi\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">1<\/span><span class=\"o\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">]<\/span><span class=\"p\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">)<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC13\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"nb\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">coloca<\/span> <span class=\"s2\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">\"removido <\/span><span class=\"si\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">#{<\/span><span class=\"n\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">dup_num<\/span><span class=\"si\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\">}<\/span><span class=\"s2\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em\"> duplicata(s)\"<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC14\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0\u00a0\u00a0<span class=\"k\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">final<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC15\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\">\u00a0<span class=\"k\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">final<\/span><\/font><\/div>\n<div class=\"line\" id=\"LC16\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 1em;line-height: 1.4em\"><font class=\"Apple-style-span\" color=\"#0086b3\" face=\"Arial\" size=\"2\"><span class=\"k\" style=\"margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;line-height: 1.4em;font-weight: bold\">final<\/span><\/font><\/div>\n<\/div>\n<\/div>\n<div style=\"line-height: normal\">\u00a0<\/div>\n<div style=\"line-height: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Conecte-se ao Couchbase Server e consulte a exibi\u00e7\u00e3o. O campo de valor \u00e9 uma matriz de meta.ids que correspondem a documentos duplicados (nome, sobrenome e c\u00f3digo postal correspondentes). Se o tamanho da matriz for maior que 1, excluiremos todos os documentos, exceto o que corresponde ao \u00faltimo meta.id.<\/span><\/div>\n<p style=\"line-height: normal\"><b style=\"font-family: Times;font-size: medium;font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/Screen%20Shot%202012-10-25%20at%203.08.32%20PM.png\" style=\"width: 800px;height: 490px\" \/><\/span><\/b><\/p>\n<p style=\"line-height: normal\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Se o n\u00famero de meta.id's na matriz de valores for maior que 2, h\u00e1 documentos duplicados correspondentes a essa chave. Como mostrado na figura acima, id19 e id20 s\u00e3o documentos duplicados.<\/span><\/b><\/p>\n<\/div>\n<div style=\"background-color: transparent;line-height: normal\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">A sa\u00edda do script de limpeza de dados \u00e9 semelhante a -<\/span><\/b><\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/Screen%20Shot%202012-10-25%20at%203.48.21%20PM.png\" style=\"width: 800px;height: 581px\" \/><\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\">\u00a0<\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Conforme mostrado na figura abaixo, os documentos duplicados foram eliminados. <\/span><\/b><\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\"><b style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/Screen%20Shot%202012-10-25%20at%203.54.31%20PM.png\" style=\"width: 800px;height: 467px\" \/><\/span><\/b><\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\">Aproveite!<\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\"><b style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">&#8212;<\/span><\/b><\/div>\n<div style=\"background-color: transparent;font-family: Times;line-height: normal;font-size: medium\"><b id=\"internal-source-marker_0.37370411586016417\" style=\"font-weight: normal\"><span style=\"font-size: 15px;font-family: Arial;background-color: transparent;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">Agradecemos a Sergey por ter elaborado o c\u00f3digo rubi.<\/span><\/b><\/div>","protected":false},"excerpt":{"rendered":"<p>Whether you\u2019re combining data from two different data sources, have multiple purchases from the same customer or just entered the same data in a web form twice, it seems like everyone faces the problem of duplicate data at one point [&hellip;]<\/p>","protected":false},"author":4,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"ppma_author":[8972],"class_list":["post-1823","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.5 (Yoast SEO v26.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Want to get rid of documents with duplicate content? - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/want-get-rid-documents-duplicate-content\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Want to get rid of documents with duplicate content?\" \/>\n<meta property=\"og:description\" content=\"Whether you\u2019re combining data from two different data sources, have multiple purchases from the same customer or just entered the same data in a web form twice, it seems like everyone faces the problem of duplicate data at one point [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/want-get-rid-documents-duplicate-content\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-16T17:43:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-28T08:25:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/duplicate-content.jpg\" \/>\n<meta name=\"author\" content=\"Don Pinto, Principal Product Manager, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Don Pinto, Principal Product Manager, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/\"},\"author\":{\"name\":\"Don Pinto, Principal Product Manager, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/eb130a1e0278989e089a7fbbf8bc754c\"},\"headline\":\"Want to get rid of documents with duplicate content?\",\"datePublished\":\"2014-12-16T17:43:14+00:00\",\"dateModified\":\"2023-06-28T08:25:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/\"},\"wordCount\":620,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/\",\"name\":\"Want to get rid of documents with duplicate content? - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2014-12-16T17:43:14+00:00\",\"dateModified\":\"2023-06-28T08:25:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Want to get rid of documents with duplicate content?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/eb130a1e0278989e089a7fbbf8bc754c\",\"name\":\"Don Pinto, Principal Product Manager, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/39c6d6178c73f0dc09af63f930a4f37d\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/574759a111515cb8c5d5a1f5268d2759050bd8383654dc0d9393324f0c35fae0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/574759a111515cb8c5d5a1f5268d2759050bd8383654dc0d9393324f0c35fae0?s=96&d=mm&r=g\",\"caption\":\"Don Pinto, Principal Product Manager, Couchbase\"},\"description\":\"Don Pinto is a Principal Product Manager at Couchbase and is currently focused on advancing the capabilities of Couchbase Server. He is extremely passionate about data technology, and in the past has authored several articles on Couchbase Server including technical blogs and white papers. Prior to joining Couchbase, Don spent several years at IBM where he maintained the role of software developer in the DB2 information management group and most recently as a program manager on the SQL Server team at Microsoft. Don holds a master's degree in computer science and a bachelor's in computer engineering from the University of Toronto, Canada.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/don-pinto\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Want to get rid of documents with duplicate content? - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/pt\/want-get-rid-documents-duplicate-content\/","og_locale":"pt_BR","og_type":"article","og_title":"Want to get rid of documents with duplicate content?","og_description":"Whether you\u2019re combining data from two different data sources, have multiple purchases from the same customer or just entered the same data in a web form twice, it seems like everyone faces the problem of duplicate data at one point [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/want-get-rid-documents-duplicate-content\/","og_site_name":"The Couchbase Blog","article_published_time":"2014-12-16T17:43:14+00:00","article_modified_time":"2023-06-28T08:25:34+00:00","og_image":[{"url":"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/duplicate-content.jpg","type":"","width":"","height":""}],"author":"Don Pinto, Principal Product Manager, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Don Pinto, Principal Product Manager, Couchbase","Est. reading time":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/"},"author":{"name":"Don Pinto, Principal Product Manager, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/eb130a1e0278989e089a7fbbf8bc754c"},"headline":"Want to get rid of documents with duplicate content?","datePublished":"2014-12-16T17:43:14+00:00","dateModified":"2023-06-28T08:25:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/"},"wordCount":620,"commentCount":4,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Uncategorized"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/","url":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/","name":"Want to get rid of documents with duplicate content? - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2014-12-16T17:43:14+00:00","dateModified":"2023-06-28T08:25:34+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Want to get rid of documents with duplicate content?"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/eb130a1e0278989e089a7fbbf8bc754c","name":"Don Pinto, gerente principal de produtos da Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/39c6d6178c73f0dc09af63f930a4f37d","url":"https:\/\/secure.gravatar.com\/avatar\/574759a111515cb8c5d5a1f5268d2759050bd8383654dc0d9393324f0c35fae0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/574759a111515cb8c5d5a1f5268d2759050bd8383654dc0d9393324f0c35fae0?s=96&d=mm&r=g","caption":"Don Pinto, Principal Product Manager, Couchbase"},"description":"Don Pinto \u00e9 gerente de produto principal da Couchbase e atualmente est\u00e1 concentrado no avan\u00e7o dos recursos do Couchbase Server. Ele \u00e9 extremamente apaixonado por tecnologia de dados e, no passado, foi autor de v\u00e1rios artigos sobre o Couchbase Server, incluindo blogs t\u00e9cnicos e white papers. Antes de ingressar no Couchbase, Don passou v\u00e1rios anos na IBM, onde ocupou a fun\u00e7\u00e3o de desenvolvedor de software no grupo de gerenciamento de informa\u00e7\u00f5es DB2 e, mais recentemente, como gerente de programa na equipe do SQL Server na Microsoft. Don tem mestrado em ci\u00eancia da computa\u00e7\u00e3o e \u00e9 bacharel em engenharia da computa\u00e7\u00e3o pela Universidade de Toronto, no Canad\u00e1.","url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/don-pinto\/"}]}},"authors":[{"term_id":8972,"user_id":4,"is_guest":0,"slug":"don-pinto","display_name":"Don Pinto, Principal Product Manager, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/574759a111515cb8c5d5a1f5268d2759050bd8383654dc0d9393324f0c35fae0?s=96&d=mm&r=g","author_category":"","last_name":"Pinto, Principal Product Manager, Couchbase","first_name":"Don","job_title":"","user_url":"","description":"Don Pinto \u00e9 gerente de produto principal da Couchbase e atualmente est\u00e1 concentrado no avan\u00e7o dos recursos do Couchbase Server. Ele \u00e9 extremamente apaixonado por tecnologia de dados e, no passado, foi autor de v\u00e1rios artigos sobre o Couchbase Server, incluindo blogs t\u00e9cnicos e white papers. Antes de ingressar no Couchbase, Don passou v\u00e1rios anos na IBM, onde ocupou a fun\u00e7\u00e3o de desenvolvedor de software no grupo de gerenciamento de informa\u00e7\u00f5es DB2 e, mais recentemente, como gerente de programa na equipe do SQL Server na Microsoft. Don tem mestrado em ci\u00eancia da computa\u00e7\u00e3o e \u00e9 bacharel em engenharia da computa\u00e7\u00e3o pela Universidade de Toronto, no Canad\u00e1."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=1823"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=1823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=1823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=1823"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=1823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}