Edwin Tang wrote:
As far as I know, yes. The only segments that matter are those referenced from the "segments" file or those that may still be open by the application. By the way, how do you know they are not referenced? Did you write some custom code to parse the segments file (or just using a hex editor or something)?Hello,
I am running on Windows XP. Since our indices are constantly changing, we close the searchers after each search.
I was running Lucene 1.4 and 1.4.1, and saw this problem. I replaced 1.4.1 with 1.4.2 on Friday, but haven't had a chance to observe its behavior since.
Would you say it's safe to delete these files?
Is it possible that your index update code sometimes fails by does not record its exceptions? That could explain why you have abandoned segments lying around.
Also, are these segments about the size of your full index or about the size of an incremental segment you might find when new documents are added? If you are able to look into the "segments" file manually, perhaps you can also put a new one together that references these segments? This would allow you to use something like Luke (http://www.getopt.org/luke/) to look into them and see what documents they contain?
Good luck! Dmitry.
Thanks, Ed
--- Dmitry Serebrennikov <[EMAIL PROTECTED]> wrote:
This is not a normal behavior, unless you are running on Windows and have searchers open for that long that are still locking the segments (but then they would be in deletable...).
What version of Lucene are you running? At some point during the past two months there were a few days when CVS snapshot would have had this problem. If you are running from CVS, try the latest release and see if this occurs again.
Dmitry.
Edwin Tang wrote:
the segments orHello,
I'm seeing in my index directory some segment files that are not included in
deletable files. These segment files show their last modified date to beanywhere between a couple
of days ago to a few weeks ago. I'm wondering why these files are notcontained inside segments or
deletable. Is it safe to delete them manually?
Thanks, Ed
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]