couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r644737 - /incubator/couchdb/branches/mochiweb/src/couchdb/couch_httpd.erl
Date Fri, 04 Apr 2008 15:46:29 GMT
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),



Mime
View raw message