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 F1224DB3D for ; Thu, 5 Jul 2012 19:31:09 +0000 (UTC) Received: (qmail 91162 invoked by uid 500); 5 Jul 2012 19:31:07 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 91125 invoked by uid 500); 5 Jul 2012 19:31:07 -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 91116 invoked by uid 99); 5 Jul 2012 19:31:07 -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:31:07 +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 tmcao@me.com designates 17.158.42.247 as permitted sender) Received: from [17.158.42.247] (HELO nk11p07mm-asmtpout002.mac.com) (17.158.42.247) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 19:31:00 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from tcao-mac.homeoffice.wal-mart.com ([161.163.44.6]) by nk11p07mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0M6P001BJCV2OT20@nk11p07mm-asmtp002.mac.com> for java-user@lucene.apache.org; Thu, 05 Jul 2012 19:30:39 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.260,0.0.0000 definitions=2012-07-05_05:2012-07-05,2012-07-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=4 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1207050214 Subject: Re: incrementally indexing From: Tri Cao In-reply-to: Date: Thu, 05 Jul 2012 12:30:37 -0700 Message-id: <5060B25C-79DA-4D8A-BFE4-A3C9795C6A52@me.com> References: <5e8c9c302ba5930a1464172b196e83e2.squirrel@correo.usal.es> To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.1257) If you want to index your hard drive, you'll need to keep a copy of the current file system's directory/files structure. Otherwise, you won't be able to remove from your index files that have been deleted. On Jul 5, 2012, at 12:18 PM, Erick Erickson wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org