From user-return-14203-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Dec 14 16:53:35 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 55479 invoked from network); 14 Dec 2010 16:53:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 16:53:35 -0000 Received: (qmail 81070 invoked by uid 500); 14 Dec 2010 16:53:34 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 80797 invoked by uid 500); 14 Dec 2010 16:53:31 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 80789 invoked by uid 99); 14 Dec 2010 16:53:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 16:53:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 16:53:25 +0000 Received: by iwn37 with SMTP id 37so1026999iwn.11 for ; Tue, 14 Dec 2010 08:53:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.17.203 with SMTP id t11mr3562990iba.141.1292345581256; Tue, 14 Dec 2010 08:53:01 -0800 (PST) Received: by 10.231.12.72 with HTTP; Tue, 14 Dec 2010 08:53:01 -0800 (PST) Date: Tue, 14 Dec 2010 14:53:01 -0200 Message-ID: Subject: Views with key as dictionary From: Fabio Batalha Cunha dos Santos To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00235433371e4c452f049761a7f1 --00235433371e4c452f049761a7f1 Content-Type: text/plain; charset=ISO-8859-1 Hello all! I'm creating a view where the key is a dictionary (I dont know if this is ok), for example: {"total_rows":1999,"offset":0,"rows":[ {"id":"203da58b-e1f1-4f5c-b956-6984aa0a163e","key":{"date":"20100900","collection":"chl"},"value":{"collection":"chl","pid":"S0717-554X2010000200002","article_title":[{"l":"es","_":"El Lugar de la Psicolog\u00eda en la Epistemolog\u00eda de Kuhn: La posibilidad de una psicolog\u00eda de la investigaci\u00f3n cient\u00edfica"},{"l":"en","_":"The Place of Psychology in Kuhn's Epistemology: The possibility of a scientific research psychology"}],"author":[{"1":"A01","s":"Brunetti","r":"ND","n":"Juan"},{"1":"A01","s":"Ormart","r":"ND","n":"Elizabeth Beatriz"}],"affiliation":[{"c":"Buenos Aires","e":"eormart@psi.uba.ar","i":"A01","1":"Facultad de Psicolog\u00eda","p":"Argentina","_":"Universidad de Buenos Aires"}],"abstract":[{"a":"ABSTRACT Kuhn\u2019s epistemology has inspired research within psychology of knowledge. At the same time, researchers have taken Kuhn\u2019s categories to theorize on their findings. Finally, Kuhn himself turned towards them to illuminate his concept of scientific development and to build the foundation of a scientific research psychology. The issue about psychology epistemological rules is at the background of these reciprocal influences.","l":"en"},{"a":"RESUMEN La epistemolog\u00eda de Kuhn ha inspirado investigaciones en el \u00e1mbito de la psicolog\u00eda del conocimiento. Del mismo modo los psic\u00f3logos investigadores de los procesos psico-cognitivos han tomado categor\u00edas kuhnianas para teorizar sus hallazgos. Finalmente, el mismo Kuhn se volvi\u00f3 hacia ellos para iluminar su concepci\u00f3n del desarrollo cient\u00edfico y construir los cimientos de una psicolog\u00eda de la investigaci\u00f3n cient\u00edfica. Por otra parte, la cuesti\u00f3n acerca del estatuto epistemol\u00f3gico de la psicolog\u00eda est\u00e1 en la base de estas influencias rec\u00edprocas.","l":"es"}]}}, {"id":"85d965ce-4aa4-4a67-babe-6d44a22ac56e","key":{"date":"20100900","collection":"scl"},"value":{"collection":"scl","pid":"S0717-554X2010000200005","article_title":[{"l":"es","_":"Los Estudios Organizacionales entre la Unidad y la Fragmentaci\u00f3n"},{"l":"en","_":"Organization Studies between Unity and Fragmentation"}],"author":[{"1":"A01","s":"Medina","r":"ND","n":"C\u00e9sar"}],"affiliation":[{"i":"A01","1":"Departamento de Administraci\u00f3n","e":"msc@correo.azc.uam.mx","_":"Universidad Aut\u00f3noma Metropolitana","p":"M\u00e9xico"}],"abstract":[{"a":"ABSTRACT The fundamental aim of this paper is to analyze a recent discipline called organization theory. For this purpose, diverse historic events are shown. These facts initiated a theoretical-methodological univocal and simplified pretension for the study of the organizations, like the one occurred with the natural sciences. Nevertheless, currently they have emerged in an extensive range of phenomenological perspectives around organizations. Therefore, it is proposed as an explanation the \u201canarchism epistemology\u201d minted by Paul K. Feyerabend by considering it a powerful tool to understand the theories of the organization. Also it maintains as hypothesis that the study of several sources to find out a possible explanation for its phenomena, strengthens the organization theory or theories.","l":"en"},{"a":"RESUMEN El presente trabajo tiene como objetivo fundamental analizar una disciplina reciente denominada teor\u00eda de la organizaci\u00f3n. Para tal efecto se muestran diversos hechos hist\u00f3ricos, los cuales al inicio eran tan s\u00f3lo una pretensi\u00f3n te\u00f3rico-metodol\u00f3gica univoca y simplificada para el estudio de las organizaciones, como ocurri\u00f3 con las ciencias naturales. Sin embargo, en la actualidad han eclosionado en una amplia gama de perspectivas fenomenol\u00f3gicas en torno a las organizaciones. Por lo anterior se propone como explicaci\u00f3n el anarquismo epistemol\u00f3gico acu\u00f1ado por Paul K. Feyerabend, por considerarlo una herramienta poderosa para entender a las teor\u00edas de la organizaci\u00f3n. Tambi\u00e9n se sostiene como hip\u00f3tesis la presencia de un robustecimiento de esta teor\u00eda al abrevar de distintas fuentes para la explicaci\u00f3n de sus fen\u00f3menos.","l":"es"}]}}, } With a simple value as key it's possible to filter some results making use of the attribute http://localhost:5984/scieloorg/_design/couchdb/_view/article_date/?key=STR If is it possible? how can I filter a view result using a dictionary as key, for example I want to bring just registers with "collection == scl". Regards, *Fabio Batalha C. Santos* Colegiado SciELO www.scielo.org FAPESP - CNPq - BIREME - FapUNIFESP --00235433371e4c452f049761a7f1--