Seeking guidance for updating indexes

2009-07-31 Thread ohaya
Hi, I still am new to Lucene, but I think I have an initial indexer app (based on the demo IndexFiles app) working, and also have a web app, based on the demo luceneweb web app working. I'm still busy tweaking both, but am starting to think ahead, about operational type issues, esp.

Re: Seeking guidance for updating indexes

2009-07-31 Thread Ian Lea
You're pretty much spot on. Read the FAQ entry Does Lucene allow searching and indexing simultaneously? for one of your questions (the answer is yes btw). With only a single update app running there won't be any locking issues. When the updater code opens the index you'll need to ensure that it

Re: Seeking guidance for updating indexes

2009-07-31 Thread Phil Whelan
Hi Jim, There should not be much difference from the lucene end between a new index and index you want to update (add more documents to). As stated in the Lucene docs IndexWriter will create the index if it does not already exist.

Re: Seeking guidance for updating indexes

2009-07-31 Thread ohaya
Hi, Phil and Ian, Thanks for the responses and confirmations about this. Assuming that our requirements (as I described earlier) don't change, it looks like this updating/inserting thing should be pretty easy :)! Later, and have a great weekend! Jim Phil Whelan phil...@gmail.com