You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2008/04/04 17:46:29 UTC

svn commit: r644737 - /incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl

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),