Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B96A4D064 for ; Thu, 5 Jul 2012 19:19:05 +0000 (UTC) Received: (qmail 54570 invoked by uid 500); 5 Jul 2012 19:19:03 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 54517 invoked by uid 500); 5 Jul 2012 19:19:03 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 54508 invoked by uid 99); 5 Jul 2012 19:19:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 19:19:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of erickerickson@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 19:18:57 +0000 Received: by obbtb18 with SMTP id tb18so6665172obb.35 for ; Thu, 05 Jul 2012 12:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Hj7PMFNQMRKgsScHOIaiyWZIAO0VO+fdw2ZFKLvhvbM=; b=gwQ7fDdYEYIh+GSX4aw5VWjOC6MZGiNtUU51QnaC5eM2L5Sgw0kea/f/PT2xAzs+OW hz3X+d0Y7J7jMeeRFcEGcApt6SEwbbCg5qz9n3LxDqWZrp0mXp0L5O1zkoVeb8qVlXsp Yi8lKilcBEbK8QVnzqsGjFN1qf3lPxsDbbIZbYskHu+sV9qq0F6HemWxPPLX1X6ycGEx y0EzNp68PkkmhM1EFR9Q5WICLDlbhWfdvQtmuIeEV8A7eSw1B7Jq91ymJQxHuTCjmRto XSLplYd/51ewVTSAzpYvqRnTnnoS71akoyraIDDh5f4VXqSXEpp3pG1kHkEgt+62ewLV JHVQ== MIME-Version: 1.0 Received: by 10.182.217.38 with SMTP id ov6mr22275510obc.33.1341515916719; Thu, 05 Jul 2012 12:18:36 -0700 (PDT) Received: by 10.182.167.37 with HTTP; Thu, 5 Jul 2012 12:18:36 -0700 (PDT) In-Reply-To: <5e8c9c302ba5930a1464172b196e83e2.squirrel@correo.usal.es> References: <5e8c9c302ba5930a1464172b196e83e2.squirrel@correo.usal.es> Date: Thu, 5 Jul 2012 15:18:36 -0400 Message-ID: Subject: Re: incrementally indexing From: Erick Erickson To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hmmm, it's not quite clear what the problem is. But let's say you have indexed your hard drive. Somewhere you'll have to keep a record of what you've done, say the timestamp when you started looking at your hard drive to index it. Next time you run, you simply only index files that have changed since the last timestamp, assuming you want any changed documents on your disk to reflect those changes. That's usually what's meant by "incremental indexing", you only add new/changed data to your index. Hope that helps Erick On Wed, Jul 4, 2012 at 7:09 AM, wrote: > Hello, > > First ask your pardon for my poor English. > > I am making an application in Java using Lucene 3.6 for indexing the hard > drive, and I've read that you can index incrementally, but not like > putting that option, because every time I indexed the hard disk overwrite > the existing index and makes me again, with the consequent expenditure of > time in making such indexing. > > If someone could help me. > > Regards and thanks in advance > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org