lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angel, Eric" <ean...@business.com>
Subject RE: Lucene index updation and performance
Date Fri, 16 Jan 2009 17:45:36 GMT
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 

-----Original Message-----
From: mitu2009 [mailto:musicfreaque@gmail.com] 
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. 
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. 
In this context, how do I update Lucene index when a new job is posted
or
when an existing job is edited? 
Can lucene index updating and search work in parallel? 

Also,can I know any tips/best practices with respect to Lucene
indexing,optimizing,performance etc? 

Appreciate ur help! 

Thanks!
-- 
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


Mime
View raw message