Hello, hello... Is this thing on? Can someone please acknowledge that my
messages are coming through to the group? I've sent several questions over
the last few weeks and nary a response. Thanks.
J
--------------------------------------------------
From: "Jerry Camel" <rlrc...@msn.com>
Sent: Monday, October 26, 2009 2:48 PM
To: <lucene-net-user@incubator.apache.org>
Subject: Monitoring Index Size
I've got a project where I need to create DVD sized collections of indexed
data. Each disc will contain and index folder and a data folder.
Contents should be obvious. My question is how can I monitor the index
size as I'm adding data so I can determine when the size of the data plus
the size of the index crosses a pre-determined threshold and I can close
out the disc and move on to the next?
At the moment I'm looping through the index folder and just sizing the
files. But it appears that Lucene is processing, as well, and sometimes I
try to get the size of a file that is no longer there.
Any advice on how to approach this without having to completely close the
index after each document?
Thanks.
J