{"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\/es\/want-get-rid-documents-duplicate-content\/","title":{"rendered":"\u00bfQuiere deshacerse de documentos con contenido 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\">Tanto si est\u00e1 combinando datos de dos fuentes de datos diferentes, como si tiene varias compras de un mismo cliente o acaba de introducir dos veces los mismos datos en un formulario web, parece que todo el mundo se enfrenta al problema de los datos duplicados en un momento u otro. <\/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\">En esta entrada del blog, veremos c\u00f3mo utilizar <a href=\"https:\/\/www.couchbase.com\/blog\/es\/docs\/couchbase-manual-2.0\/couchbase-views.html\/\">vistas<\/a> en Couchbase Server 2.0 para encontrar campos coincidentes entre documentos y retener los documentos no duplicados. Por el bien de este ejemplo, supongamos que cada documento tiene tres campos comunes especificados por el usuario - <\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">nombre<\/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\">apellido<\/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\">. Utilizaci\u00f3n de la <\/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 ruby<\/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 Couchbase Server y el <\/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\">farsante<\/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, puedes construir un sencillo <\/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\">generador de datos<\/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 cargar algunos datos duplicados de ejemplo en Couchbase. Para utilizar ruby como lenguaje de programaci\u00f3n con Couchbase, debes descargar el SDK de Ruby <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/es\/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\">aqu\u00ed<\/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\">He aqu\u00ed un ejemplo de ejecuci\u00f3n:<\/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 [opciones]<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-h, -nombrehost NOMBREHOST \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span>Nombre de host al que conectarse (por defecto: 127.0.0.1:8091)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-u, -usuario USERNAME \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span>Nombre de usuario para iniciar sesi\u00f3n (por defecto: ninguno)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-p, -passwd CONTRASE\u00d1A \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span>Contrase\u00f1a para iniciar sesi\u00f3n (por defecto: ninguna)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-b, -nombre del cubo \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>Nombre del bucket al que conectarse (por defecto: default)<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0-t, -total-registros NUM \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"Apple-tab-span\"> <\/span><span class=\"Apple-tab-span\"> <\/span>El n\u00famero total de registros a generar (por defecto: 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 (por defecto: 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 este mensaje<\/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 en Couchbase tiene una clave especificada por el usuario que es accesible 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\"> en la funci\u00f3n map de la vista. En la Figura 1 de abajo, hay m\u00faltiples documentos cargados en Couchbase Server usando el cliente generador de datos anterior.<\/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\">Primer paso<\/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\">Escribe una funci\u00f3n map personalizada que emita el ID del 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 los documentos si coincide un determinado patr\u00f3n de duplicados (<\/span><span style=\"font-size: 15px;font-family: Arial;font-weight: normal;font-style: normal;font-variant: normal;text-decoration: none;vertical-align: baseline\">nombre<\/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\">apellido<\/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\"> en este 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\">La funci\u00f3n de mapa define cu\u00e1ndo dos documentos son duplicados.  Seg\u00fan la funci\u00f3n map definida anteriormente, dos documentos son duplicados cuando el nombre, el apellido y el c\u00f3digo postal coinciden. Utilizamos '-' para evitar el aliasing de los datos al concatenar el nombre, el apellido y el 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\">Paso 2<\/span><\/b><\/h2>\n<p dir=\"ltr\"><font class=\"Apple-style-span\" color=\"#000000\" face=\"Arial\">La funci\u00f3n reduce tiene el siguiente aspecto - <\/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 if (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; valores.longitud; 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(valores[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 devolver 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\">Tras la agrupaci\u00f3n, si hay m\u00e1s de un valor meta.id, los concatenamos para obtener una lista de meta.id que hagan referencia a un 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\">Paso 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\">La parte central del <\/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\">limpiador de datos <\/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\">est\u00e1 escrito en 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\">requiere<\/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\">conexi\u00f3n<\/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\">conecte<\/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\">opciones<\/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\">conexi\u00f3n<\/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\">dise\u00f1o_docs<\/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\">opciones<\/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\">:documento_dise\u00f1o<\/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\">ver<\/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\">opciones<\/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\">:ver<\/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\">conexi\u00f3n<\/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\">ejecute<\/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\">do<\/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\">ver<\/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\">:grupo<\/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\">verdadero<\/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\">do<\/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\">talla<\/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\">si<\/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\">pone<\/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\">\"doc izquierda <\/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\"># suprimir documentos del pen\u00faltimo al \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\">conexi\u00f3n<\/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\">borrar<\/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\">pone<\/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\">\"eliminado <\/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\"> duplicado(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\">fin<\/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\">fin<\/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\">fin<\/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\">Con\u00e9ctate a Couchbase Server y consulta la vista. El campo valor es un array de meta.id's que corresponden a documentos duplicados (que coincidan con nombre, apellidos y c\u00f3digo postal). Si el tama\u00f1o del array es mayor que 1, eliminamos todos los documentos excepto el correspondiente al \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\">Si el n\u00famero de meta.id en la matriz de valores es superior a 2, hay documentos duplicados correspondientes a esa clave. Como se muestra en la figura anterior, id19 e id20 son 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\">La salida del script de limpieza de datos tiene el siguiente aspecto -<\/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\">Como se muestra en la siguiente figura, ahora se eliminan los documentos duplicados. <\/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\">\u00a1Que aproveche!<\/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\">Gracias a Sergey por reunir el c\u00f3digo ruby.<\/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 v25.7.1 (Yoast SEO v25.7) - 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\/es\/want-get-rid-documents-duplicate-content\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\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\/es\/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\":\"es\",\"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\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@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\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@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\":\"es\",\"@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\/es\/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\/es\/want-get-rid-documents-duplicate-content\/","og_locale":"es_MX","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\/es\/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":"es","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":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/want-get-rid-documents-duplicate-content\/"]}]},{"@type":"ImageObject","inLanguage":"es","@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":"El blog de Couchbase","description":"Couchbase, la base de datos 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":"es"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"El blog de Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@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, Director Principal de Producto, Couchbase","image":{"@type":"ImageObject","inLanguage":"es","@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 es Gerente Principal de Producto en Couchbase y actualmente est\u00e1 enfocado en avanzar las capacidades de Couchbase Server. Es un apasionado de la tecnolog\u00eda de datos, y en el pasado ha escrito varios art\u00edculos sobre Couchbase Server, incluyendo blogs t\u00e9cnicos y libros blancos. Antes de unirse a Couchbase, Don pas\u00f3 varios a\u00f1os en IBM, donde desempe\u00f1\u00f3 el papel de desarrollador de software en el grupo de gesti\u00f3n de la informaci\u00f3n DB2 y, m\u00e1s recientemente, como director de programa en el equipo de SQL Server en Microsoft. Don tiene un m\u00e1ster en inform\u00e1tica y una licenciatura en ingenier\u00eda inform\u00e1tica por la Universidad de Toronto, Canad\u00e1.","url":"https:\/\/www.couchbase.com\/blog\/es\/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","first_name":"Don","last_name":"Pinto, Principal Product Manager, Couchbase","user_url":"","author_category":"","description":"Don Pinto es Gerente Principal de Producto en Couchbase y actualmente est\u00e1 enfocado en avanzar las capacidades de Couchbase Server. Es un apasionado de la tecnolog\u00eda de datos, y en el pasado ha escrito varios art\u00edculos sobre Couchbase Server, incluyendo blogs t\u00e9cnicos y libros blancos. Antes de unirse a Couchbase, Don pas\u00f3 varios a\u00f1os en IBM, donde desempe\u00f1\u00f3 el papel de desarrollador de software en el grupo de gesti\u00f3n de la informaci\u00f3n DB2 y, m\u00e1s recientemente, como director de programa en el equipo de SQL Server en Microsoft. Don tiene un m\u00e1ster en inform\u00e1tica y una licenciatura en ingenier\u00eda inform\u00e1tica por la Universidad de Toronto, Canad\u00e1."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/posts\/1823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/comments?post=1823"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/posts\/1823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/media?parent=1823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/categories?post=1823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/tags?post=1823"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/es\/wp-json\/wp\/v2\/ppma_author?post=1823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}