Re: Maintain last indexed information in a file or DB

2008-11-28 Thread Michael McCandless
m: "Ian Lea" <[EMAIL PROTECTED]> To: Sent: Friday, November 28, 2008 5:51 PM Subject: Re: Maintain last indexed information in a file or DB I'm a bit confused about what exactly is stored in folder and index and database, but how about you store the bookmark information in the

Re: Maintain last indexed information in a file or DB

2008-11-28 Thread Ganesh
ot;Ian Lea" <[EMAIL PROTECTED]> To: Sent: Friday, November 28, 2008 5:51 PM Subject: Re: Maintain last indexed information in a file or DB I'm a bit confused about what exactly is stored in folder and index and database, but how about you store the bookmark information in the same

Re: Maintain last indexed information in a file or DB

2008-11-28 Thread Ian Lea
I'm a bit confused about what exactly is stored in folder and index and database, but how about you store the bookmark information in the same lucene index that you are using for the file data. One lucene document per folder, with fields something like folder: /some/dir/somewhere bookmark: some_b

Maintain last indexed information in a file or DB

2008-11-28 Thread Ganesh
I am using Lucene v2.4. I am indexing files from various folder and i have to maintain a bookmark of what i have last indexed in each folder. Initially i thought to save the state in each respective folder. Index Wrtier always has documents in memory and it commits in a intervals. In an unexp