Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C51FC9139 for ; Tue, 27 Sep 2011 08:25:32 +0000 (UTC) Received: (qmail 58559 invoked by uid 500); 27 Sep 2011 08:25:32 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 58485 invoked by uid 500); 27 Sep 2011 08:25:32 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 58478 invoked by uid 99); 27 Sep 2011 08:25:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 08:25:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 08:25:30 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2310C2388A67 for ; Tue, 27 Sep 2011 08:25:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1176269 - /couchdb/trunk/src/couch_index/src/couch_index_api.erl Date: Tue, 27 Sep 2011 08:25:09 -0000 To: commits@couchdb.apache.org From: benoitc@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110927082509.2310C2388A67@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: benoitc Date: Tue Sep 27 08:25:08 2011 New Revision: 1176269 URL: http://svn.apache.org/viewvc?rev=1176269&view=rev Log: reflect api changes in couch_api_index. While I'm here, even if the module isn't used give it a proper module declaration. Modified: couchdb/trunk/src/couch_index/src/couch_index_api.erl Modified: couchdb/trunk/src/couch_index/src/couch_index_api.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couch_index/src/couch_index_api.erl?rev=1176269&r1=1176268&r2=1176269&view=diff ============================================================================== --- couchdb/trunk/src/couch_index/src/couch_index_api.erl (original) +++ couchdb/trunk/src/couch_index/src/couch_index_api.erl Tue Sep 27 08:25:08 2011 @@ -10,11 +10,13 @@ % License for the specific language governing permissions and limitations under % the License. - +-module(couch_index_api). get(Field, State) -> ok. +init(Db, Ddoc) -> + ok. open(Db, State) -> ok. @@ -32,10 +34,10 @@ reset(State) -> start_update(State, PurgedState, NumChanges) -> {ok, State}. -purge(PurgedIdRevs, State) -> +purge(Db, PurgeSeq, PurgedIdRevs, State) -> ok. -process_doc(Doc, State) -> +process_doc(Doc, Seq, State) -> ok. finish_update(State) ->