H Michael
Well spotted! Thanks for the tip and your precious time.
Thanks!
Jamie
Michael McCandless wrote:
OK indeed from your code you are manually removing files from the
index (the "deleteIndex" method). You shouldn't do that.
I think what's happening is deleteIndex is called when an In
OK indeed from your code you are manually removing files from the
index (the "deleteIndex" method). You shouldn't do that.
I think what's happening is deleteIndex is called when an IndexReader
has the index open (do you see those "failed to delete file in
existing index" log messages?), then you
By the way, the line numbers in the last email apply to the SVN trunk
code. I switch over to the latest code to see if this would make a
difference. Alas, the problem still exists!
Jamie wrote:
Hi Michael
Glad you asked and thanks in advance for your help! I am trying to
reindex 325 emails.
Hi Michael
Glad you asked and thanks in advance for your help! I am trying to
reindex 325 emails. Its a pretty straight forward use of Lucene. I
create an IndexWriter, write a whole bunch of documents and then close
the Index every 2 seconds. See the attached source code. In case, you
are won
That use case of Lucene should be fine, ie no further synchronization
should be necessary.
Your debug output below is great, but it doesn't seem to cover the
occurrence of that exception. Can you post the full debug output?
Can you describe how you reindex in more detail? Are you manual