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