Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 88898 invoked from network); 16 Jan 2009 17:46:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2009 17:46:13 -0000 Received: (qmail 75284 invoked by uid 500); 16 Jan 2009 17:46:06 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 75255 invoked by uid 500); 16 Jan 2009 17:46:06 -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 75244 invoked by uid 99); 16 Jan 2009 17:46:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 09:46:06 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.52.219.147] (HELO mx01.business.com) (216.52.219.147) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 17:45:58 +0000 Received: from unknown (HELO exchg04.corp.business.com) ([10.1.0.24]) by mx00.business.com with ESMTP; 16 Jan 2009 09:45:36 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Lucene index updation and performance Date: Fri, 16 Jan 2009 09:45:36 -0800 Message-ID: In-Reply-To: <21504659.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Lucene index updation and performance Thread-Index: Acl4AWQdGAY2BUtzS9+Vp3sU1hwgYwAADWJA References: <21504659.post@talk.nabble.com> From: "Angel, Eric" To: X-Virus-Checked: Checked by ClamAV on apache.org You can simply call IndexWriter.addDocument() for new jobs and IndexWriter.updateDocument http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/index/IndexWri ter.html Also, don't forget to optimize your index. Depending on your volume, you might want to optimize during slow traffic. Eric Angel=20 -----Original Message----- From: mitu2009 [mailto:musicfreaque@gmail.com]=20 Sent: Friday, January 16, 2009 9:39 AM To: java-user@lucene.apache.org Subject: Lucene index updation and performance I am working on a job portal site and have been using Lucene for job search functionality.=20 Users will be posting a number jobs on our site on a daily basis.We need to make sure that new job posted is searchable on the site as soon as possible.=20 In this context, how do I update Lucene index when a new job is posted or when an existing job is edited?=20 Can lucene index updating and search work in parallel?=20 Also,can I know any tips/best practices with respect to Lucene indexing,optimizing,performance etc?=20 Appreciate ur help!=20 Thanks! --=20 View this message in context: http://www.nabble.com/Lucene-index-updation-and-performance-tp21504659p2 1504659.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- 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