Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 29311 invoked from network); 13 Jul 2009 11:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 11:27:47 -0000 Received: (qmail 19735 invoked by uid 500); 13 Jul 2009 11:27:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 19660 invoked by uid 500); 13 Jul 2009 11:27:56 -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 19650 invoked by uid 99); 13 Jul 2009 11:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 11:27:56 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 129.27.2.202 is neither permitted nor denied by domain of wolfgang.issovits@gmail.com) Received: from [129.27.2.202] (HELO mailrelay.tugraz.at) (129.27.2.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 11:27:47 +0000 Received: from [172.16.20.139] (85-125-169-195.work.xdsl-line.inode.at [85.125.169.195]) (authenticated bits=0) by mailrelay1.tugraz.at (8.14.3/8.14.3) with ESMTP id n6DBRNxX023859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jul 2009 13:27:24 +0200 (CEST) Message-ID: <4A5B1A1B.4080305@gmail.com> Date: Mon, 13 Jul 2009 13:27:23 +0200 From: Wolfgang issovits User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: user@couchdb.apache.org Subject: problems with couchb-lucene Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: fPprHjrm922jHYmcM25Wjw X-Spam-Scanner: SpamAssassin 3.002005 X-Spam-Score-relay: 1.3 X-Scanned-By: MIMEDefang 2.65 on 129.27.10.18 X-Virus-Checked: Checked by ClamAV on apache.org Hello! I've tried to set up couchdb with lucene for a while with no success so far. I created a "_design/lucene" document for indexing which looks like this: { "_id": "_design/lucene", "_rev": "5-2604847086", "fulltext": { "by_name": { "defaults": { "store": "yes" }, "index": "function(doc) { var ret=new Document(); ret.add(doc.name); return ret }" } } } In addition I created a "_design/views" document: { "_id": "_design/views", "_rev": "20-662305778", "language": "javascript", "views": { "all_signals": { "map": "function(doc) {\n if (doc.type == 'signal')\n emit(doc.name, doc._id);\n}" } } } Now i tried to call this view with a query. I tried several different urls with no success so far. All I get are different errors... ("Extra path info in request", "test/luence/all_signals is not a valid view", "No view name in path") Can someone tell me the right way to call a view with a query parameter? Thanks in advance. kind regards, Wolfgang