On Wed, Sep 25, 2013 at 2:10 PM, Scott Schneider <
scott_schnei...@symantec.com> wrote:

> I still wonder why it can create a new index using my codec, but not load
> an index previously created with my codec.


Could be a sequence of classpath initialization. For example, the
write/read functions happen after full classpath is setup. But when you
open (not read/write) an index after restart, it may need to check
something (e.g. your codec) and that's before full classpath is available.
Then, putting things into system level classpath resolves the issue.

Pure conjecture here, but that's exactly the kind of things that triggers
classloader bugs.

Regards,
   Alex.

Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)

Reply via email to