Perhaps anyone could clarify how to identify what causes the messages
below when debugging in Visual Studio

A first chance exception of type 'System.IO.IOException' occurred in
Lucene.Net.dll

When my program rebuilds index those messages start to pop
up in debug output window.
Index is rebuilt successfully after all..
My attempts to trace seem to result in  the conclusion that it is
happening in AddPosition method at some stage. I added try/catch (
printing error to console )  clauses in several places , but it didn't
make any difference ( no printing ) .

DocumentWriter.cs

       private void  InvertDocument(Document doc)

...
                                   if (field.IsStoreOffsetWithTermVector())
                                       AddPosition(fieldName,
t.TermText(), position++, new TermVectorOffsetInfo(offset +
t.StartOffset(), offset + t.EndOffset()));


What I am trying to achieve is to find the exact reason of this
message. My understanding it is just handled/ignored catch clause
somewhere in Lucene code , but   just can't find it.

Reply via email to