Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 61372 invoked from network); 22 Dec 2009 23:50:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Dec 2009 23:50:32 -0000 Received: (qmail 29594 invoked by uid 500); 22 Dec 2009 23:50:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29516 invoked by uid 500); 22 Dec 2009 23:50:30 -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 29506 invoked by uid 99); 22 Dec 2009 23:50:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 23:50:30 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robert.newson@gmail.com designates 74.125.78.26 as permitted sender) Received: from [74.125.78.26] (HELO ey-out-2122.google.com) (74.125.78.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 23:50:24 +0000 Received: by ey-out-2122.google.com with SMTP id 22so374373eye.41 for ; Tue, 22 Dec 2009 15:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=bQxqMHsHbHeHeuNIiw0pWRE8uxCZxe3II8EYoNsiWuQ=; b=LPz0v6Zo/jYR9pUawqS1iXIwL6Cd1f1UxdJO+0XPP4EyqYluw8gh62l0YZnbVvl9O9 iFt57bJZWT4JQ6f0+YM4GY8FVlKJffl6Ze8gsBUBZOfXU62GpUHE3nOhW0T52Eukpc/a cq2PSO/ZfyaEkHQ8CwQLXbV/szCUroO158t9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=h1BcGDiJ40bELM6JWP6fcuGCUAl9O94ZdJcz0uWiXICAQb2ZqfreAsd/AOazCatzE0 5J8ERZo25wENso0O+G0k2QauWLcVvUCN31Sz0KzHYj2EaCGi3GDHtCFJE2IGqKN+XYi+ wQxJSEx2xzpwaB/q3PsGexs9qsczmkliGY3dM= MIME-Version: 1.0 Received: by 10.216.89.194 with SMTP id c44mr3537599wef.199.1261525802458; Tue, 22 Dec 2009 15:50:02 -0800 (PST) In-Reply-To: References: <4B306CB5.9080509@gmail.com> <46aeb24f0912220502s3c93127gc6106da99e9fad8@mail.gmail.com> Date: Tue, 22 Dec 2009 23:50:02 +0000 Message-ID: <46aeb24f0912221550s152dbc36kaba4740a2c624511@mail.gmail.com> Subject: Re: Couchdb-lucene and pre-generating indexes? From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Could you specify which version of couchdb-lucene you are using? In either case, indexing should continue asynchronously from searching. the 60 second timeout shouldn't matter. If you are using 0.5, I suggest you "git pull" as I've spent today and yesterday fixes an awful lot of bugs. :) B. On Tue, Dec 22, 2009 at 10:10 PM, Patrick Barnes wrote: > How long would you expect it to typically taken to build a view or a search > index for 350k docs, if the functions are simple? (Reasonable server > hardware, 0.10.0 & 0.5) > > I'm not sure if something is misconfigured, but its definitely taking longer > than 60 seconds. > > -Patrick > > On 23/12/2009 12:02 AM, "Robert Newson" wrote: > > for 0.4 - indexing should start when you start couchdb, assuming you > added the update_notification settings. > > for 0.5 (not released) - indexing starts on the first query, just like > view indexing does in couchdb. So just trigger the build by running a > query (any query) just like the same rule for trigger view building. > > I should note that both versions take ?stale=ok will not block for > updates, returning search results based on what's currently indexed. > > On Tue, Dec 22, 2009 at 6:52 AM, Patrick Barnes wrote: > > Hi, > > I want to use ... >