Return-Path: Delivered-To: apmail-incubator-couchdb-commits-archive@locus.apache.org Received: (qmail 10091 invoked from network); 4 Apr 2008 15:46:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 15:46:51 -0000 Received: (qmail 32987 invoked by uid 500); 4 Apr 2008 15:46:51 -0000 Delivered-To: apmail-incubator-couchdb-commits-archive@incubator.apache.org Received: (qmail 32969 invoked by uid 500); 4 Apr 2008 15:46:51 -0000 Mailing-List: contact couchdb-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-commits@incubator.apache.org Received: (qmail 32959 invoked by uid 99); 4 Apr 2008 15:46:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 08:46:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 15:46:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F14AC1A9832; Fri, 4 Apr 2008 08:46:29 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r644737 - /incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl Date: Fri, 04 Apr 2008 15:46:29 -0000 To: couchdb-commits@incubator.apache.org From: jan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080404154629.F14AC1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jan Date: Fri Apr 4 08:46:27 2008 New Revision: 644737 URL: http://svn.apache.org/viewvc?rev=644737&view=rev Log: Change /db/_fulltext ro /db/_search Modified: incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl Modified: incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl URL: http://svn.apache.org/viewvc/incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl?rev=644737&r1=644736&r2=644737&view=diff ============================================================================== --- incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl (original) +++ incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl Fri Apr 4 08:46:27 2008 @@ -222,7 +222,7 @@ handle_db_request(_Req, _Method, {_DbName, _Db, ["_bulk_docs"]}) -> throw({method_not_allowed, "POST"}); -handle_db_request(Req, 'GET', {DbName, _Db, ["_fulltext"]}) -> +handle_db_request(Req, 'GET', {DbName, _Db, ["_search"]}) -> case Req:parse_qs() of [{"q", Query}] when (length(Query) > 0) -> {ok, Response} = couch_ft_query:execute(DbName, Query),